Skip to content

Commit

Permalink
really fix pie build (#3286)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaokangwang authored Jan 21, 2025
1 parent f593864 commit d5bcf9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jobs:
- name: Show workflow information
id: get_filename
run: |
export _NAME=$(jq ".[\"$GOOS-$GOARCH$GOARM\"].friendlyName" -r < release/friendly-filenames.json)
export _NAME=$(jq ".[\"$GOOS-$GOARCH$GOARM$PIE_ENABLED\"].friendlyName" -r < release/friendly-filenames.json)
echo "GOOS: $GOOS, GOARCH: $GOARCH, GOARM: $GOARM, RELEASE_NAME: $_NAME"
echo "ASSET_NAME=$_NAME" >> $GITHUB_OUTPUT
echo "ASSET_NAME=$_NAME" >> $GITHUB_ENV
Expand Down
2 changes: 2 additions & 0 deletions release/friendly-filenames.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@
"freebsd-arm64": { "friendlyName": "freebsd-arm64-v8a" },
"linux-386": { "friendlyName": "linux-32" },
"linux-amd64": { "friendlyName": "linux-64" },
"linux-amd64pie": { "friendlyName": "linux-64-pie" },
"linux-arm5": { "friendlyName": "linux-arm32-v5" },
"linux-arm64": { "friendlyName": "linux-arm64-v8a" },
"linux-arm64pie": { "friendlyName": "linux-arm64-v8a-pie" },
"linux-arm6": { "friendlyName": "linux-arm32-v6" },
"linux-arm7": { "friendlyName": "linux-arm32-v7a" },
"linux-mips64le": { "friendlyName": "linux-mips64le" },
Expand Down

0 comments on commit d5bcf9d

Please sign in to comment.