mirror of
https://github.com/juewuy/ShellCrash.git
synced 2026-07-24 15:47:11 +00:00
~修复版本号不更新的bug
This commit is contained in:
2
.github/workflows/update_singbox_core.yaml
vendored
2
.github/workflows/update_singbox_core.yaml
vendored
@@ -259,7 +259,7 @@ jobs:
|
|||||||
mkdir -p ./bin/${crashcore}
|
mkdir -p ./bin/${crashcore}
|
||||||
mv -f ./tmp/singbox-linux-* ./bin/${crashcore}/
|
mv -f ./tmp/singbox-linux-* ./bin/${crashcore}/
|
||||||
rm -fr ./tmp
|
rm -fr ./tmp
|
||||||
[ "${{ inputs.tag6 }}" = tar.gz ] && sed -i "s/${crashcore}_v=.*/${crashcore}_v=${VERSION}/" ./bin/version
|
[ "${{ inputs.tag6 }}" = upx ] && sed -i "s/${crashcore}_v=.*/${crashcore}_v=${VERSION}/" ./bin/version
|
||||||
git config --global user.email "github-actions[bot]@users.noreply.github.com" && git config --global user.name "github-actions[bot]"
|
git config --global user.email "github-actions[bot]@users.noreply.github.com" && git config --global user.name "github-actions[bot]"
|
||||||
git add . && git commit -m "更新${crashcore}内核至${VERSION}" || exit 0
|
git add . && git commit -m "更新${crashcore}内核至${VERSION}" || exit 0
|
||||||
git push
|
git push
|
||||||
|
|||||||
Reference in New Issue
Block a user