-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Showing
2 changed files
with
4 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 |
---|---|---|
|
@@ -50,11 +50,12 @@ jobs: | |
node scripts/verify-pkg-main.js | ||
- name: Create release tag | ||
run: | | ||
git reset --hard | ||
MDC_CURRENT_VERSION="v$(npm run version --silent)" | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
export changelog=$(npx conventional-changelog --preset angular) | ||
git tag -a "$MDC_CURRENT_VERSION" -m "$changelog" | ||
npx conventional-changelog --preset angular | ||
git tag "$MDC_CURRENT_VERSION" | ||
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git | ||
git push origin "$MDC_CURRENT_VERSION" | ||
env: | ||
|
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 |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
"publish": { | ||
"ignoreChanges": [ | ||
"*.md", | ||
"*.increment1" | ||
"*.increment2" | ||
] | ||
} | ||
}, | ||
|