generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ci) final fix, including skipping the ci
- Loading branch information
Showing
3 changed files
with
7 additions
and
7 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 |
---|---|---|
|
@@ -55,10 +55,10 @@ jobs: | |
git config --global user.email "[email protected]" | ||
npm version patch | ||
npm run bundle | ||
new_version=$(cat package.json | jq -r '.version') | ||
git add . | ||
git commit -m "ci: update tag with new version $new_version [skip ci]" && git push | ||
git tag -a $new_version -m "ci: update tag with new version $new_version" && git push origin $new_version | ||
new_version=v$(cat package.json | jq -r '.version') | ||
git commit --amend -m "$new_version [skip ci]" | ||
git push | ||
git tag -a $new_version -m "ci: update tag: $new_version" && git push --tags | ||
echo "new_version=$new_version" >> "$GITHUB_OUTPUT" | ||
- name: Create release | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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