git config --global user.name ${{ secrets.PACKAGES_USER }}
git add package.json echo "adding succeeded" git commit -m "Bump version to $new_version" echo "commiting succeeded" git tag -a "v$new_version" -m "Release version $new_version" echo "tagging succeeded" git remote -v git push main HEAD --tags echo "pushing succeeded"
This commit is contained in:
parent
1360bf3044
commit
712f6cf083
1 changed files with 1 additions and 2 deletions
|
@ -17,8 +17,7 @@ jq ".version = \"$new_version\"" package.json > temp.json && mv temp.json packag
|
|||
|
||||
# Optional: Commit and tag
|
||||
|
||||
git config --global user.email pipeline@email.com
|
||||
git config --global user.name pipeline
|
||||
git config --global user.name ${{ secrets.PACKAGES_USER }}
|
||||
git add package.json
|
||||
echo "adding succeeded"
|
||||
git commit -m "Bump version to $new_version"
|
||||
|
|
Loading…
Reference in a new issue