Skip to content

Commit

Permalink
Append exe to windows executables
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdeltwabMF committed Mar 16, 2024
1 parent bc4451a commit 2d4029e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ jobs:
GOOS=${GOOSARCH%/*}
GOARCH=${GOOSARCH#*/}
BINARY_NAME=$(basename $GITHUB_REPOSITORY)-$GOOS-$GOARCH
if [[ "$GOOS" == "windows" ]]; then
BINARY_NAME=$BINARY_NAME.exe
fi
echo "BINARY_NAME=$BINARY_NAME" | tee -a $GITHUB_ENV
echo "GOOS=$GOOS" | tee -a $GITHUB_ENV
echo "GOARCH=$GOARCH" | tee -a $GITHUB_ENV
Expand Down

0 comments on commit 2d4029e

Please sign in to comment.