mirror of
https://github.com/AuxXxilium/synology-igc.git
synced 2024-11-23 15:01:06 +07:00
sync version for source file
This commit is contained in:
parent
6cdff220fa
commit
4bf561dd30
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
@ -68,7 +68,18 @@ jobs:
|
||||
|
||||
cd ..
|
||||
rm -rf ${{ github.event.repository.name }}
|
||||
|
||||
|
||||
# 修改源文件版本号
|
||||
sed -i "s/^#define DRV_VERSION.*/#define DRV_VERSION \"$NEW_TAG\"/" igc_main.c
|
||||
|
||||
- name: Commit and Push
|
||||
run: |
|
||||
if [ -n "$(git status -s | grep igc_main.c)" ];then
|
||||
git add igc_main.c
|
||||
git commit -m "update ${{ env.new_tag }}"
|
||||
git push -f
|
||||
fi
|
||||
|
||||
- name: Build igc for ${{matrix.platform}}
|
||||
run: |
|
||||
mkdir ./${{matrix.platform}} && chmod 777 ./${{matrix.platform}}
|
||||
|
Loading…
Reference in New Issue
Block a user