Skip to content

Commit

Permalink
Fix GOHOSTOS/GOHOSTARCH in release scripts
Browse files Browse the repository at this point in the history
go1.21 changed the output of `go env` to use single quotes instead of double.
  • Loading branch information
hsanjuan committed Sep 29, 2023
1 parent 088de69 commit 290e266
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ jobs:
- name: Package plugin
run: make dist-plugin
- name: Record Go environment
run: go env >> "$GITHUB_ENV"
run: |
echo "GOHOSTOS=$(go env GOHOSTOS)" >> "$GITHUB_ENV"
echo "GOHOSTARCH=$(go env GOHOSTARCH)" >> "$GITHUB_ENV"
- name: Rename package
run: |
NAME="nopfs-kubo-plugin_${{ env.RELEASE }}_${{ env.GOHOSTOS }}_${{ env.GOHOSTARCH }}.tar.gz"
Expand Down

0 comments on commit 290e266

Please sign in to comment.