-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
ranchodeluxe
committed
Jul 9, 2024
1 parent
48a2ea1
commit bbca853
Showing
1 changed file
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,15 +71,18 @@ jobs: | |
- name: commit and tag version bump | ||
run: | | ||
# Strip double quotes from the new_version environment variable | ||
# strip double quotes from the new_version environment variable | ||
NEW_VERSION=${{ env.new_version }} | ||
NEW_VERSION=${NEW_VERSION#\"} | ||
NEW_VERSION=${NEW_VERSION%\"} | ||
COMMIT_MSG="release version to $NEW_VERSION" | ||
TAG="v$NEW_VERSION" | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "GitHub Actions" | ||
git commit -am "bump version to $NEW_VERSION" | ||
git tag -a "v$NEW_VERSION" -m "release version $NEW_VERSION" | ||
git commit -am $COMMIT_MSG | ||
git tag -a $TAG -m $COMMIT_MSG | ||
git push origin main --tags | ||
- name: create github release (triggers release) | ||
|