From 712f6cf083e8dc76d7f5d59670c7640fec9ebc75 Mon Sep 17 00:00:00 2001 From: miwr Date: Tue, 8 Apr 2025 13:00:38 +0200 Subject: [PATCH] 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" --- update-version.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/update-version.sh b/update-version.sh index 6ea82c9..6023cc5 100644 --- a/update-version.sh +++ b/update-version.sh @@ -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"