8000 Fix release version for brew formula by traviolus · Pull Request #97 · initia-labs/weave · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix release version for brew formula #97

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 23, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ jobs:
goos: [linux, darwin]
goarch: [amd64, arm64]

outputs:
version: ${{ steps.write-version.outputs.version }}

steps:
- uses: actions/checkout@v4

Expand All @@ -69,11 +66,9 @@ jobs:
GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -ldflags "-X github.com/initia-labs/weave/cmd.Version=${{ github.ref_name }}" -o build/${{ matrix.goos }}_${{ matrix.goarch }}/weave

- name: Write version
id: write-version
run: |
TAG=${{ github.event.release.tag_name }}
echo "VERSION=${TAG#v}" >> "$GITHUB_ENV"
echo "version=${TAG#v}" >> "$GITHUB_OUTPUT"
echo "VERSION=${TAG#v}" >> "$GITHUB_ENV"

- name: Create tar.gz
run: |
Expand All @@ -100,7 +95,7 @@ jobs:
homebrew_owner: initia-labs
homebrew_tap: homebrew-tap
formula_folder: Formula
version: ${{ needs.build-and-upload.outputs.version }}
version: ${{ github.event.release.tag_name }}
github_token: ${{ secrets.GH_RELEASE_TOKEN }}
commit_owner: github-actions[bot]
commit_email: github-actions[bot]@users.noreply.github.com
Expand Down
Loading
0