Skip to content

Commit

Permalink
Merge pull request #146 from runpod/fix-brew-version
Browse files Browse the repository at this point in the history
fix: remove trailing newline from version tag
  • Loading branch information
DireLines authored Apr 13, 2024
2 parents 92c1d10 + b04a9cc commit ad5f1f7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: build
run: |
export CGO_ENABLED=0
echo "${{ steps.release.outputs.tag_name }}" > version
echo "${{ steps.release.outputs.tag_name }}" | tr -d '\n' > version
env GOOS=android GOARCH=arm64 go build -o bin/runpodctl-android-arm64 .
env GOOS=darwin GOARCH=amd64 go build -o bin/runpodctl-darwin-amd64 .
env GOOS=darwin GOARCH=arm64 go build -o bin/runpodctl-darwin-arm64 .
Expand Down Expand Up @@ -103,4 +103,3 @@ jobs:
args: release --clean --skip=validate
env:
GITHUB_TOKEN: ${{ secrets.PUBLISHER_TOKEN }}
VERSION: ${{ steps.release.outputs.tag_name }}
4 changes: 0 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
before:
hooks:
- echo "{{ .Env.VERSION }}" > version

builds:
- binary: runpodctl
goos:
Expand Down

0 comments on commit ad5f1f7

Please sign in to comment.