Skip to content

Commit

Permalink
Fix Windows workflow!
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvee1 committed Dec 23, 2023
1 parent 1aef543 commit d72365b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/scripts/attach-binary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@ else
chmod +x "./$REPO.exe"
BUNDLE_NAME="$REPO-$RELEASE_VERSION-$ARCH.zip"
powershell Compress-Archive -Path "$REPO.exe" -DestinationPath "$BUNDLE_NAME"
echo "SHA256:"
ls $HOME/ghr/
echo $PATH
ghr -t "$GITHUB_TOKEN" -u "$OWNER" -r "$REPO" --replace "$(git describe --tags)" "$BUNDLE_NAME"
$HOME/ghr/ghr.exe -t "$GITHUB_TOKEN" -u "$OWNER" -r "$REPO" --replace "$(git describe --tags)" "$BUNDLE_NAME"
else
BIN="$(stack path --local-install-root)/bin/$REPO"
BUNDLE_NAME="$REPO-$RELEASE_VERSION-$ARCH.tar.gz"
Expand Down

0 comments on commit d72365b

Please sign in to comment.