Skip to content

Commit

Permalink
Address CI release failure
Browse files Browse the repository at this point in the history
  • Loading branch information
mprimeaux committed Nov 14, 2024
1 parent 53e1094 commit ef37f4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
X_BUILD_COMMIT: ${{ env.X_BUILD_COMMIT }}
X_GITHUB_TOKEN: ${{ secrets.GHCR_TOKEN }}
4 changes: 2 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ builds:
- arm64
flags:
- -trimpath
- -ldflags=-s -w -X github.com/sixafter/nanoid-cli/cmd.version={{ .Version }} github.com/sixafter/nanoid-cli/cmd.buildCommit={{ .Env.X_BUILD_COMMIT }}
- -ldflags=-s -w -X github.com/sixafter/nanoid-cli/cmd/version.version={{ .Version }} github.com/sixafter/nanoid-cli/cmd/version.gitCommitID={{ .Env.X_BUILD_COMMIT }}
archives:
- id: tar
format: tar.gz
Expand Down Expand Up @@ -177,4 +177,4 @@ brews:
# provided to GoReleaser
#
# Templates: allowed.
token: "{{ .Env.GHCR_TOKEN }}"
token: "{{ .Env.X_GITHUB_TOKEN }}"

0 comments on commit ef37f4d

Please sign in to comment.