Skip to content

Commit

Permalink
fix: hack on cmd release process (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcho committed Sep 2, 2023
1 parent 502ef94 commit c4882e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cmd-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: goreleaser
on:
push:
tags:
- 'cmd/*'
- '*'

permissions:
contents: write
Expand All @@ -25,7 +25,7 @@ jobs:
with:
distribution: goreleaser
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
AZURE_STORAGE_ACCOUNT: ${{ secrets.AZURE_STORAGE_ACCOUNT }}
Expand Down
3 changes: 2 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
# Make sure to check the documentation at https://goreleaser.com
before:
hooks:
# You may remove this if you don't use go modules.
# FIXME: hack
- go mod replace=github.com/b4fun/turtle=../
- go mod tidy
builds:
- env:
Expand Down

0 comments on commit c4882e8

Please sign in to comment.