aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/trigger_release.yml
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-04-18 00:41:43 +0200
committerSefa Eyeoglu <contact@scrumplex.net>2022-04-19 16:18:11 +0200
commit53ff66c3173257cec84d5a0c314957122d1173a7 (patch)
treeeb8a282a00b8ebc9413f459fb160cfa1202e5fbb /.github/workflows/trigger_release.yml
parent31c757d91228840d74d21506157d04d487261748 (diff)
downloadPrismLauncher-53ff66c3173257cec84d5a0c314957122d1173a7.tar.gz
PrismLauncher-53ff66c3173257cec84d5a0c314957122d1173a7.tar.bz2
PrismLauncher-53ff66c3173257cec84d5a0c314957122d1173a7.zip
fix: update files for relase workflow
Diffstat (limited to '.github/workflows/trigger_release.yml')
-rw-r--r--.github/workflows/trigger_release.yml10
1 files changed, 6 insertions, 4 deletions
diff --git a/.github/workflows/trigger_release.yml b/.github/workflows/trigger_release.yml
index 149cb632..cea7bc6c 100644
--- a/.github/workflows/trigger_release.yml
+++ b/.github/workflows/trigger_release.yml
@@ -33,6 +33,7 @@ jobs:
- name: Package artifacts properly
run: |
mv ${{ github.workspace }}/PolyMC-source PolyMC-${{ env.VERSION }}
+ mv PolyMC-Linux-Portable*/PolyMC-portable.tar.gz PolyMC-Linux-Portable-{{env.VERSION}}.tar.gz
mv PolyMC-Linux*/PolyMC.tar.gz PolyMC-Linux-${{ env.VERSION }}.tar.gz
mv PolyMC-*.AppImage/PolyMC-*.AppImage PolyMC-Linux-${{ env.VERSION }}-x86_64.AppImage
mv PolyMC-macOS*/PolyMC.tar.gz PolyMC-macOS-${{ env.VERSION }}.tar.gz
@@ -42,9 +43,9 @@ jobs:
for d in PolyMC-Windows-*; do
cd "${d}" || continue
ARCH="$(echo -n ${d} | cut -d '-' -f 3)"
- PORT="$(echo -n ${d} | grep -o portable || true)"
+ PORT="$(echo -n ${d} | grep -o Portable || true)"
NAME="PolyMC-Windows-${ARCH}"
- test -z "${PORT}" || NAME="${NAME}-portable"
+ test -z "${PORT}" || NAME="${NAME}-Portable"
zip -r -9 "../${NAME}-${{ env.VERSION }}.zip" *
cd ..
done
@@ -61,10 +62,11 @@ jobs:
prerelease: false
files: |
PolyMC-Linux-${{ env.VERSION }}.tar.gz
+ PolyMC-Linux-Portable-${{ env.VERSION }}.tar.gz
PolyMC-Linux-${{ env.VERSION }}-x86_64.AppImage
PolyMC-Windows-i686-${{ env.VERSION }}.zip
- PolyMC-Windows-i686-portable-${{ env.VERSION }}.zip
+ PolyMC-Windows-i686-Portable-${{ env.VERSION }}.zip
PolyMC-Windows-x86_64-${{ env.VERSION }}.zip
- PolyMC-Windows-x86_64-portable-${{ env.VERSION }}.zip
+ PolyMC-Windows-x86_64-Portable-${{ env.VERSION }}.zip
PolyMC-macOS-${{ env.VERSION }}.tar.gz
PolyMC-${{ env.VERSION }}.tar.gz