diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9f47ad8d..14126717 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,7 +1,9 @@ name: Release on: - create + push: + tags: + - '*.*.*' jobs: release: diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index 2baa2eed..da61f5cc 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -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 @@ -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 diff --git a/package-lock.json b/package-lock.json index 9d9b8503..eefc1e58 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "semver-utils", - "version": "1.3.5", + "version": "1.3.6", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "semver-utils", - "version": "1.3.5", + "version": "1.3.6", "license": "MIT", "dependencies": { "@actions/core": "^1.2.6", diff --git a/package.json b/package.json index deaa7e1d..b7b4190f 100644 --- a/package.json +++ b/package.json @@ -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",