We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f9ce49 commit a68b229Copy full SHA for a68b229
bump-version.sh
@@ -32,13 +32,13 @@ echo "export const SDK_VERSION = \"$(echo "${NEW_VERSION}" | sed 's/^v//')\"" >
32
33
echo "📝 Committing to GitHub... Target branch: $2"
34
git fetch
35
-git checkout origin/$2
+git checkout --track origin/$2
36
git config --global user.email "[email protected]"
37
git config --global user.name "Github Actions"
38
git add package.json CHANGELOG.md src/version.ts
39
git commit --no-verify -m "📦 Release $NEW_VERSION" || exit 1
40
41
-git push origin $2 --no-verify || exit 1
+git push --no-verify || exit 1
42
echo "🎉 Pushed to GitHub ..."
43
# echo "🎉 dry run. branch $current_branch version $NEW_VERSION"
44
0 commit comments