diff options
author | Kenneth Chew <kenneth.c0@protonmail.com> | 2022-05-20 17:09:26 -0400 |
---|---|---|
committer | Kenneth Chew <kenneth.c0@protonmail.com> | 2022-05-20 17:09:26 -0400 |
commit | 2bc6da038dea701699ba9fc46eb68b3a74d5f488 (patch) | |
tree | 9f790d6430a6b535f9c6622272f9338adccd2935 | |
parent | cbc8c1aed63e9cd106b468ae720aa650beec646a (diff) | |
download | PrismLauncher-2bc6da038dea701699ba9fc46eb68b3a74d5f488.tar.gz PrismLauncher-2bc6da038dea701699ba9fc46eb68b3a74d5f488.tar.bz2 PrismLauncher-2bc6da038dea701699ba9fc46eb68b3a74d5f488.zip |
Add installer to release workflow
-rw-r--r-- | .github/workflows/trigger_release.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/trigger_release.yml b/.github/workflows/trigger_release.yml index ff0d2b3f..91cd0474 100644 --- a/.github/workflows/trigger_release.yml +++ b/.github/workflows/trigger_release.yml @@ -43,10 +43,12 @@ jobs: for d in PolyMC-Windows-*; do cd "${d}" || continue ARCH="$(echo -n ${d} | cut -d '-' -f 3)" + INST="$(echo -n ${d} | grep -o Setup || true)" PORT="$(echo -n ${d} | grep -o Portable || true)" NAME="PolyMC-Windows-${ARCH}" test -z "${PORT}" || NAME="${NAME}-Portable" - zip -r -9 "../${NAME}-${{ env.VERSION }}.zip" * + test -z "${INST}" || mv PolyMC-*.exe ../${NAME}-Setup-${{ env.VERSION }}.exe + test -n "${INST}" || zip -r -9 "../${NAME}-${{ env.VERSION }}.zip" * cd .. done @@ -66,7 +68,9 @@ jobs: PolyMC-Linux-${{ env.VERSION }}-x86_64.AppImage PolyMC-Windows-i686-${{ env.VERSION }}.zip PolyMC-Windows-i686-Portable-${{ env.VERSION }}.zip + PolyMC-Windows-i686-Setup-${{ env.VERSION }}.exe PolyMC-Windows-x86_64-${{ env.VERSION }}.zip PolyMC-Windows-x86_64-Portable-${{ env.VERSION }}.zip + PolyMC-Windows-x86_64-Setup-${{ env.VERSION }}.exe PolyMC-macOS-${{ env.VERSION }}.tar.gz PolyMC-${{ env.VERSION }}.tar.gz |