Update .github/workflows/increase-version.yml
This commit is contained in:
5
.github/workflows/increase-version.yml
vendored
5
.github/workflows/increase-version.yml
vendored
@@ -24,6 +24,11 @@ jobs:
|
||||
npm version patch --no-git-tag-version
|
||||
git add package.json package-lock.json
|
||||
git commit -m "chore: bump version [skip ci]" || echo "No changes to commit"
|
||||
|
||||
# Pull the latest changes from the remote main branch before pushing
|
||||
git pull origin main --rebase
|
||||
|
||||
# Push changes to remote main branch
|
||||
git push origin main
|
||||
|
||||
- name: Trigger second pipeline
|
||||
|
||||
Reference in New Issue
Block a user