Skip to content

Commit e578724

Browse files
authored
Merge pull request #355 from cloudflare/nicky/release-env-var-fix
fix github token env var
2 parents 9af8426 + 63784c5 commit e578724

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ jobs:
2020
uses: actions/setup-go@v3
2121
- run: make release-github
2222
env:
23-
GORELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ release-github:
118118
docker run --rm --privileged -v $(PWD):/go/tmp \
119119
-v /var/run/docker.sock:/var/run/docker.sock \
120120
-w /go/tmp \
121-
--env GORELEASER_GITHUB_TOKEN \
121+
--env GITHUB_TOKEN \
122122
ghcr.io/gythialy/golang-cross:latest --clean
123123

124124

0 commit comments

Comments
 (0)