File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,7 @@ jobs:
117117 GOARM : ${{ matrix.goarm }}
118118 PIE_ENABLED : ${{ matrix.pie }}
119119 CGO_ENABLED : 0
120+ IS_PRERELEASE : ${{ github.event.release.prerelease }}
120121
121122 steps :
122123 - name : Checkout codebase
@@ -128,6 +129,11 @@ jobs:
128129 id : get_filename
129130 run : |
130131 export _NAME=$(jq ".[\"$GOOS-$GOARCH$GOARM$PIE_ENABLED\"].friendlyName" -r < release/friendly-filenames.json)
132+
133+ if [ "$GOARCH" = "arm64" ] && [ "$PIE_ENABLED" = "pie" ] && [ "$IS_PRERELEASE" = "true" ]; then
134+ export _NAME="${_NAME}-prerelease"
135+ fi
136+
131137 echo "GOOS: $GOOS, GOARCH: $GOARCH, GOARM: $GOARM, RELEASE_NAME: $_NAME"
132138 echo "ASSET_NAME=$_NAME" >> $GITHUB_OUTPUT
133139 echo "ASSET_NAME=$_NAME" >> $GITHUB_ENV
You can’t perform that action at this time.
0 commit comments