mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
[skip ci] Use the old release naming scheme and fix Windows itch.io builds not having the pixelorama_data folder
This commit is contained in:
parent
57ea4d25f1
commit
6b02442201
22
.github/workflows/release.yml
vendored
22
.github/workflows/release.yml
vendored
|
@ -42,13 +42,17 @@ jobs:
|
||||||
godot -v --export "Windows Desktop 32-bit" ./build/windows-32bit/$EXPORT_NAME.exe
|
godot -v --export "Windows Desktop 32-bit" ./build/windows-32bit/$EXPORT_NAME.exe
|
||||||
- name: Copy pixelorama_data folder 📁
|
- name: Copy pixelorama_data folder 📁
|
||||||
run: |
|
run: |
|
||||||
|
cp -R ./pixelorama_data ./build/windows-64bit
|
||||||
|
rm ./build/windows-64bit/pixelorama_data/.gdignore
|
||||||
|
cp -R ./pixelorama_data ./build/windows-32bit
|
||||||
|
rm ./build/windows-32bit/pixelorama_data/.gdignore
|
||||||
cp -R ./pixelorama_data ./build
|
cp -R ./pixelorama_data ./build
|
||||||
rm ./build/pixelorama_data/.gdignore
|
rm ./build/pixelorama_data/.gdignore
|
||||||
- name: Zip 🗜️
|
- name: Zip 🗜️
|
||||||
working-directory: ./build
|
working-directory: ./build
|
||||||
run: |
|
run: |
|
||||||
zip windows-64bit.zip -rj windows-64bit && zip -r windows-64bit.zip pixelorama_data
|
zip -r Pixelorama.Windows-64bit.zip windows-64bit
|
||||||
zip windows-32bit.zip -rj windows-32bit && zip -r windows-32bit.zip pixelorama_data
|
zip -r Pixelorama.Windows-32bit.zip windows-32bit
|
||||||
- name: Build installer 🔧
|
- name: Build installer 🔧
|
||||||
run: |
|
run: |
|
||||||
python3 ./installer/utils/po2nsi.py -i ./installer/pixelorama.nsi -o ./installer/pixelorama_loc.nsi -p ./installer/po -l "English" -v
|
python3 ./installer/utils/po2nsi.py -i ./installer/pixelorama.nsi -o ./installer/pixelorama_loc.nsi -p ./installer/po -l "English" -v
|
||||||
|
@ -106,19 +110,19 @@ jobs:
|
||||||
- name: Create tar.gz archive 🗜️
|
- name: Create tar.gz archive 🗜️
|
||||||
run: |
|
run: |
|
||||||
cd build
|
cd build
|
||||||
tar zcvf linux-64bit.tar.gz linux-64bit
|
tar zcvf Pixelorama.Linux-64bit.tar.gz linux-64bit
|
||||||
tar zcvf linux-32bit.tar.gz linux-32bit
|
tar zcvf Pixelorama.Linux-32bit.tar.gz linux-32bit
|
||||||
tar zcvf linux-rpi4.tar.gz linux-rpi4
|
tar zcvf Pixelorama.Linux-RPI4.tar.gz linux-rpi4
|
||||||
- name: Upload Release Assets to itch.io 🎮
|
- name: Upload Release Assets to itch.io 🎮
|
||||||
run: |
|
run: |
|
||||||
butler push ./build/linux-64bit.tar.gz ${{ secrets.ITCHIO_USERNAME }}/${{ secrets.ITCHIO_GAME }}:linux-64 --userversion ${{env.TAG}}
|
butler push ./build/Pixelorama.Linux-64bit.tar.gz ${{ secrets.ITCHIO_USERNAME }}/${{ secrets.ITCHIO_GAME }}:linux-64 --userversion ${{env.TAG}}
|
||||||
butler push ./build/linux-32bit.tar.gz ${{ secrets.ITCHIO_USERNAME }}/${{ secrets.ITCHIO_GAME }}:linux-32 --userversion ${{env.TAG}}
|
butler push ./build/Pixelorama.Linux-32bit.tar.gz ${{ secrets.ITCHIO_USERNAME }}/${{ secrets.ITCHIO_GAME }}:linux-32 --userversion ${{env.TAG}}
|
||||||
butler push ./build/linux-rpi4.tar.gz ${{ secrets.ITCHIO_USERNAME }}/${{ secrets.ITCHIO_GAME }}:linux-rpi4 --userversion ${{env.TAG}}
|
butler push ./build/Pixelorama.Linux-RPI4.tar.gz ${{ secrets.ITCHIO_USERNAME }}/${{ secrets.ITCHIO_GAME }}:linux-rpi4 --userversion ${{env.TAG}}
|
||||||
- name: Upload Release Asset 🚀
|
- name: Upload Release Asset 🚀
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: ./build/linux-*.tar.gz
|
file: ./build/Pixelorama.Linux-*.tar.gz
|
||||||
tag: ${{env.TAG}}
|
tag: ${{env.TAG}}
|
||||||
overwrite: true
|
overwrite: true
|
||||||
file_glob: true
|
file_glob: true
|
||||||
|
|
Loading…
Reference in a new issue