aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/trigger_release.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/trigger_release.yml')
-rw-r--r--.github/workflows/trigger_release.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/.github/workflows/trigger_release.yml b/.github/workflows/trigger_release.yml
index 7c780cbf..2dbd5cd4 100644
--- a/.github/workflows/trigger_release.yml
+++ b/.github/workflows/trigger_release.yml
@@ -42,11 +42,10 @@ jobs:
for d in PolyMC-Windows-*; do
cd "${d}" || continue
- ARCH="$(echo -n ${d} | cut -d '-' -f 3)"
LEGACY="$(echo -n ${d} | grep -o Legacy || true)"
INST="$(echo -n ${d} | grep -o Setup || true)"
PORT="$(echo -n ${d} | grep -o Portable || true)"
- NAME="PolyMC-Windows-${ARCH}"
+ NAME="PolyMC-Windows"
test -z "${LEGACY}" || NAME="${NAME}-Legacy"
test -z "${PORT}" || NAME="${NAME}-Portable"
test -z "${INST}" || mv PolyMC-*.exe ../${NAME}-Setup-${{ env.VERSION }}.exe