mirror of
https://github.com/AuxXxilium/synology-igc.git
synced 2024-11-23 23:11:07 +07:00
sync version for source file
This commit is contained in:
parent
6cdff220fa
commit
4bf561dd30
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@ -69,6 +69,17 @@ 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