Skip to content

Commit

Permalink
ci: update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicconike committed Jul 8, 2024
1 parent 8fa9fc1 commit 4d6686b
Show file tree
Hide file tree
Showing 2 changed files with 2 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 @@ -41,16 +41,13 @@ jobs:

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
if: steps.semrel.outputs.version != ''
with:
distribution: releaser
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
GORELEASER_CURRENT_TAG: ${{ steps.semrel.outputs.version }}

- name: Update pkg.go.dev
if: steps.semrel.outputs.version != ''
run: |
go list -m github.com/Nicconike/goautomate@${{ steps.semrel.outputs.version }}
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: 2
project_name: goautomate

builds:
Expand Down

0 comments on commit 4d6686b

Please sign in to comment.