Skip to content

Commit

Permalink
Merge pull request #47 from /issues/11
Browse files Browse the repository at this point in the history
Fix #11: Debugging releases
  • Loading branch information
madhead authored Mar 27, 2021
2 parents 509bd7b + a8f09ca commit 2c6e02a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Release

on:
create
push:
tags:
- '*.*.*'

jobs:
release:
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.RELEASES_GITHUB_TOKEN }}

- run: npm install
- run: npm run all
Expand All @@ -32,8 +34,4 @@ jobs:
- run: git tag --force ${{ steps.parsedVersion.outputs.major }}
- run: git tag --force 'latest'

- uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.RELEASES_GITHUB_TOKEN }}
tags: true
force: true
- run: git push --force --tags origin
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.5",
"version": "1.3.6",
"private": true,
"description": "One-stop shop for working with semantic versions in your workflows",
"main": "lib/main.js",
Expand Down

0 comments on commit 2c6e02a

Please sign in to comment.