1
1
mirror of https://github.com/Yvee1/hascard.git synced 2024-11-22 04:33:06 +03:00

Fix Windows workflow!

This commit is contained in:
Yvee1 2023-12-23 19:23:23 +01:00
parent 1aef5439cc
commit d72365b5d4

View File

@ -23,10 +23,7 @@ else
chmod +x "./$REPO.exe" chmod +x "./$REPO.exe"
BUNDLE_NAME="$REPO-$RELEASE_VERSION-$ARCH.zip" BUNDLE_NAME="$REPO-$RELEASE_VERSION-$ARCH.zip"
powershell Compress-Archive -Path "$REPO.exe" -DestinationPath "$BUNDLE_NAME" powershell Compress-Archive -Path "$REPO.exe" -DestinationPath "$BUNDLE_NAME"
echo "SHA256:" $HOME/ghr/ghr.exe -t "$GITHUB_TOKEN" -u "$OWNER" -r "$REPO" --replace "$(git describe --tags)" "$BUNDLE_NAME"
ls $HOME/ghr/
echo $PATH
ghr -t "$GITHUB_TOKEN" -u "$OWNER" -r "$REPO" --replace "$(git describe --tags)" "$BUNDLE_NAME"
else else
BIN="$(stack path --local-install-root)/bin/$REPO" BIN="$(stack path --local-install-root)/bin/$REPO"
BUNDLE_NAME="$REPO-$RELEASE_VERSION-$ARCH.tar.gz" BUNDLE_NAME="$REPO-$RELEASE_VERSION-$ARCH.tar.gz"