Skip to content

Commit

Permalink
update release process to perform git tag
Browse files Browse the repository at this point in the history
  • Loading branch information
jdrews committed Feb 16, 2024
1 parent d2a7737 commit 4ce7112
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ on:
tag:
description: 'New tag name'
required: true
# NOTE: In the future we might want to do auto releasing on every tag
# push:
# tags:
# - '*'

permissions:
contents: write
Expand All @@ -22,6 +18,7 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- run: git tag ${{ github.event.inputs.tag }}

- name: Set up Node.js
uses: actions/setup-node@v2
Expand Down
2 changes: 2 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
release:
target_commitish: '{{ .Commit }}'
before:
hooks:
- yarn -v # For debugging. Historical problems with running 1.x yarn. Need >=3.x yarn (berry)
Expand Down

0 comments on commit 4ce7112

Please sign in to comment.