Fix: bump-version git pull --rebase vor Push
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
e057a61c55
commit
83a8382a6c
1 changed files with 1 additions and 0 deletions
|
|
@ -128,6 +128,7 @@ bump-version:
|
||||||
git remote set-url origin "http://oauth2:${CI_PUSH_TOKEN}@192.168.1.100:9080/${CI_PROJECT_PATH}.git"
|
git remote set-url origin "http://oauth2:${CI_PUSH_TOKEN}@192.168.1.100:9080/${CI_PROJECT_PATH}.git"
|
||||||
git fetch origin main
|
git fetch origin main
|
||||||
git checkout main
|
git checkout main
|
||||||
|
git pull --rebase origin main
|
||||||
echo "$NEXT_VERSION" > VERSION
|
echo "$NEXT_VERSION" > VERSION
|
||||||
git add VERSION
|
git add VERSION
|
||||||
git commit -m "v${NEXT_VERSION} [skip ci]"
|
git commit -m "v${NEXT_VERSION} [skip ci]"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue