Skip to content

Commit ad5f1f7

Browse files
authored
Merge pull request #146 from runpod/fix-brew-version
fix: remove trailing newline from version tag
2 parents 92c1d10 + b04a9cc commit ad5f1f7

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

.github/workflows/release.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: build
3030
run: |
3131
export CGO_ENABLED=0
32-
echo "${{ steps.release.outputs.tag_name }}" > version
32+
echo "${{ steps.release.outputs.tag_name }}" | tr -d '\n' > version
3333
env GOOS=android GOARCH=arm64 go build -o bin/runpodctl-android-arm64 .
3434
env GOOS=darwin GOARCH=amd64 go build -o bin/runpodctl-darwin-amd64 .
3535
env GOOS=darwin GOARCH=arm64 go build -o bin/runpodctl-darwin-arm64 .
@@ -103,4 +103,3 @@ jobs:
103103
args: release --clean --skip=validate
104104
env:
105105
GITHUB_TOKEN: ${{ secrets.PUBLISHER_TOKEN }}
106-
VERSION: ${{ steps.release.outputs.tag_name }}

.goreleaser.yml

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
before:
2-
hooks:
3-
- echo "{{ .Env.VERSION }}" > version
4-
51
builds:
62
- binary: runpodctl
73
goos:

0 commit comments

Comments
 (0)