We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 92c1d10 + b04a9cc commit ad5f1f7Copy full SHA for ad5f1f7
.github/workflows/release.yml
@@ -29,7 +29,7 @@ jobs:
29
- name: build
30
run: |
31
export CGO_ENABLED=0
32
- echo "${{ steps.release.outputs.tag_name }}" > version
+ echo "${{ steps.release.outputs.tag_name }}" | tr -d '\n' > version
33
env GOOS=android GOARCH=arm64 go build -o bin/runpodctl-android-arm64 .
34
env GOOS=darwin GOARCH=amd64 go build -o bin/runpodctl-darwin-amd64 .
35
env GOOS=darwin GOARCH=arm64 go build -o bin/runpodctl-darwin-arm64 .
@@ -103,4 +103,3 @@ jobs:
103
args: release --clean --skip=validate
104
env:
105
GITHUB_TOKEN: ${{ secrets.PUBLISHER_TOKEN }}
106
- VERSION: ${{ steps.release.outputs.tag_name }}
.goreleaser.yml
@@ -1,7 +1,3 @@
1
-before:
2
- hooks:
3
- - echo "{{ .Env.VERSION }}" > version
4
-
5
builds:
6
- binary: runpodctl
7
goos:
0 commit comments