Skip to content

Commit

Permalink
chore: Fix release script (#5613)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhiomkar authored Feb 14, 2020
1 parent ca59aa1 commit 4784508
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"publish": {
"ignoreChanges": [
"*.md",
"*.increment1"
"*.increment2"
]
}
},
Expand Down

0 comments on commit 4784508

Please sign in to comment.