Skip to content

Commit

Permalink
Merge pull request #44 from /issues/11
Browse files Browse the repository at this point in the history
Fix #11: Use release token to push tags
  • Loading branch information
madhead authored Mar 27, 2021
2 parents dca8223 + e8dd3a7 commit 61e2cf8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ jobs:

- uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.RELEASES_GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 5 additions & 1 deletion .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,8 @@ jobs:
- run: git tag --force ${{ steps.parsedVersion.outputs.major }}
- run: git tag --force 'latest'

- run: git push --force --tags origin
- uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.RELEASES_GITHUB_TOKEN }}
tags: true
force: true
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "semver-utils",
"version": "1.3.2",
"version": "1.3.3",
"private": true,
"description": "One-stop shop for working with semantic versions in your workflows",
"main": "lib/main.js",
Expand Down

0 comments on commit 61e2cf8

Please sign in to comment.