Files
RGSX/.github/workflows/release.yml
skymike03 7d2d55fe5f v2.5.0.0 (2026.01.17)
- add "disable auto-extract" function in MENU>SETTINGS
- add  "ROMS folder" option to select a custom folder for all downloads in MENU>SETTINGS (or Web Interface settings)
- add new menu to choose custom download folder for a specific system (long press CONFIRM button on a selected system/platform)
- add pause option in history when downloading games
- update submenus display layout to have more space for new options
- add missing settings options in rsgx_web  (disable auto-extract, API keys, activate web service / custom dns at boot)
2026-01-17 00:54:10 +01:00

141 lines
4.7 KiB
YAML

# Pour déclencher ce workflow : git tag v1.X.X && git push origin v1.X.X
# OU en une seule ligne : git tag v1.X.X && git push origin --tags
name: Release on tag
on:
push:
tags:
- 'v*'
permissions:
contents: write
jobs:
create_release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build RGSX Release Package
shell: bash
run: |
set -euo pipefail
VERSION="${GITHUB_REF_NAME}"
mkdir -p dist
echo "Building RGSX package from ports/RGSX/ directory…"
cd ports/RGSX
zip -r "../../dist/RGSX_update_latest.zip" . \
-x "logs/*" \
"logs/**" \
"__pycache__/*" \
"__pycache__/**" \
"*.pyc" \
"*.log"
cd ../..
cp -f "dist/RGSX_update_latest.zip" "dist/RGSX_latest.zip"
echo "✓ RGSX package created successfully"
echo ""
echo "Building RGSX Full package (includes ports/ and windows/ directories)…"
zip -r "dist/RGSX_full_latest.zip" ports windows \
-x "ports/RGSX/logs/*" \
"ports/RGSX/logs/**" \
"ports/RGSX/__pycache__/*" \
"ports/RGSX/__pycache__/**" \
"ports/RGSX/*.pyc" \
"ports/RGSX/*.log" \
"windows/logs/*" \
"windows/*.xml" \
"ports/*.xml" \
"*.xml" \
"*.pyc" \
"*.xml" \
"*.log"
echo "✓ All packages created successfully"
ls -lh dist/
- name: Generate release notes with commit message
shell: bash
run: |
# Récupérer le message de commit associé au tag
COMMIT_MSG=$(git log -1 --format=%B ${{ github.ref_name }})
echo "Commit message:"
echo "$COMMIT_MSG"
# Créer le fichier de release notes
cat > dist/RELEASE_NOTES.md << 'RELEASE_EOF'
# 📦 RGSX Release ${{ github.ref_name }}
## 📝 Changelog
RELEASE_EOF
# Ajouter le message de commit
echo "$COMMIT_MSG" >> dist/RELEASE_NOTES.md
# Ajouter le reste des instructions
cat >> dist/RELEASE_NOTES.md << 'RELEASE_EOF'
---
## 📥 Automatic Installation (Only for Batocera/Knulli)
### ON PC, NUC, SteamDeck or any x86_64 based:
1. Open File Manager (F1) then "Applications" and launch xterm
2. Use the command line `curl -L bit.ly/rgsx-install | sh`
3. Launch RGSX from "Ports" menu
### ON RASPBERRY/ ARM based SBC / HANDHELD :
1. Connect your device with SSH on a computer/smartphone connected to same network (ssh root@IPADDRESS , pass:linux)
2. Use the command line `curl -L bit.ly/rgsx-install | sh`
3. Launch RGSX from "Ports" menu
## 📥 Manual Installation
### Batocera/Knulli
1. Download latest release : https://github.com/RetroGameSets/RGSX/releases/latest/download/RGSX_full_latest.zip
2. Extract only PORTS folder in `/userdata/roms/`
3. Launch RGSX from the Ports menu
### Retrobat/Full Installation on Windows
1. Download latest release : https://github.com/RetroGameSets/RGSX/releases/latest/download/RGSX_full_latest.zip
2. Extract all folders in your Retrobat\roms folder
3. Launch RGSX from system "Windows"
## 📥 Manual Update (only if automatic doesn't work for some obscure reason)
#### Batocera/Knulli/Retrobat
1. Download latest update : https://github.com/RetroGameSets/RGSX/releases/latest/download/RGSX_update_latest.zip
2. Extract zip content in `/userdata/roms/ports/RGSX`
3. Launch RGSX
### 📖 Documentation
[README.md](https://github.com/${{ github.repository }}/blob/main/README.md)
RELEASE_EOF
echo "✓ Release notes generated"
cat dist/RELEASE_NOTES.md
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.ref_name }}
name: RGSX ${{ github.ref_name }}
generate_release_notes: false
draft: false
prerelease: false
body_path: dist/RELEASE_NOTES.md
files: |
dist/RGSX_update_latest.zip
dist/RGSX_full_latest.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}