Skip to content

Commit 4016fee

Browse files
committed
Use github Releases to create git tags
1 parent 3d53408 commit 4016fee

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
- uses: actions/checkout@v2
1818
- uses: ./.github/actions/setup-test-env
1919
- name: Build all packages
20-
shell: nix develop -c bash -eo pipefail -l {0}
2120
run: yarn build
2221
- id: npm-publish
2322
name: Publish fastify-renderer
@@ -26,14 +25,10 @@ jobs:
2625
token: ${{ secrets.NPM_TOKEN }}
2726
package: ./packages/fastify-renderer/package.json
2827
access: public
29-
- name: Push version tag to github
30-
uses: actions-ecosystem/action-push-tag@v1
31-
if: ${{ steps.npm-publish.outputs.type != 'none' }}
32-
with:
33-
tag: ${{ steps.npm-publish.outputs.version }}
3428
- name: Publish Release to github
3529
uses: "marvinpinto/action-automatic-releases@latest"
3630
if: ${{ steps.npm-publish.outputs.type != 'none' }}
3731
with:
3832
repo_token: "${{ secrets.GITHUB_TOKEN }}"
39-
prerelease: false
33+
prerelease: false
34+
automatic_release_tag: ${{ steps.npm-publish.outputs.version }}

0 commit comments

Comments
 (0)