mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 14:05:39 +00:00
0.5.2b ready for release [skip ci]
This commit is contained in:
parent
bfd5b1bea7
commit
021e62609d
6
.github/workflows/flathub_push_main.yml
vendored
6
.github/workflows/flathub_push_main.yml
vendored
|
@ -36,7 +36,6 @@ jobs:
|
||||||
#sync -rav --progress --exclude={'res/screenshots/','shared-modules/','rd-submodules/retroarch','.git/','docs','retrodeck-flatpak/','retrodeck-flatpak-cooker/','.flatpak-builder/'} ~/RetroDECK/ ~/flathub/
|
#sync -rav --progress --exclude={'res/screenshots/','shared-modules/','rd-submodules/retroarch','.git/','docs','retrodeck-flatpak/','retrodeck-flatpak-cooker/','.flatpak-builder/'} ~/RetroDECK/ ~/flathub/
|
||||||
|
|
||||||
cd $gits_folder/flathub
|
cd $gits_folder/flathub
|
||||||
|
|
||||||
git checkout master
|
git checkout master
|
||||||
|
|
||||||
git rm -rf *
|
git rm -rf *
|
||||||
|
@ -71,14 +70,9 @@ jobs:
|
||||||
|
|
||||||
sed -i "s#__SHA__#$sha#g" net.retrodeck.retrodeck.yml
|
sed -i "s#__SHA__#$sha#g" net.retrodeck.retrodeck.yml
|
||||||
|
|
||||||
echo -e "Resulting manifest:\n"
|
|
||||||
cat net.retrodeck.retrodeck.yml
|
|
||||||
|
|
||||||
git config --global user.name "${{ secrets.GITNAME }}"
|
git config --global user.name "${{ secrets.GITNAME }}"
|
||||||
git config --global user.email "${{ secrets.GITMAIL }}"
|
git config --global user.email "${{ secrets.GITMAIL }}"
|
||||||
|
|
||||||
git add *
|
git add *
|
||||||
git commit -m "Updated flathub/net.retrodeck.retrodeck from RetroDECK/$rd_branch"
|
git commit -m "Updated flathub/net.retrodeck.retrodeck from RetroDECK/$rd_branch"
|
||||||
|
|
||||||
git remote -v
|
|
||||||
git push --force https://${{ secrets.TRIGGER_BUILD_TOKEN }}@github.com/flathub/net.retrodeck.retrodeck.git master
|
git push --force https://${{ secrets.TRIGGER_BUILD_TOKEN }}@github.com/flathub/net.retrodeck.retrodeck.git master
|
||||||
|
|
42
.github/workflows/main-selfhosted.yml
vendored
42
.github/workflows/main-selfhosted.yml
vendored
|
@ -17,18 +17,13 @@ jobs:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Get date for artifacts
|
- name: Remove stuck mounts
|
||||||
id: date
|
run: sudo umount -f /home/administrator/actions-runner/_work/RetroDECK/RetroDECK/.flatpak-builder/rofiles/*
|
||||||
run: echo "::set-output name=date::$(date +'%Y%m%d_%H%M%S')"
|
continue-on-error: true
|
||||||
|
|
||||||
- name: Extract branch name
|
|
||||||
shell: bash
|
|
||||||
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
|
|
||||||
id: extract_branch
|
|
||||||
|
|
||||||
- name: Generate build ID
|
- name: Generate build ID
|
||||||
id: generating_buildid
|
id: generating_buildid
|
||||||
run: echo "##[set-output name=build-id;]$(echo "${{ steps.extract_branch.outputs.branch }}-${{ steps.date.outputs.date }}")"
|
run: echo "##[set-output name=build-id;]$(echo "$( git rev-parse --short HEAD )")"
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
@ -38,34 +33,41 @@ jobs:
|
||||||
git submodule init
|
git submodule init
|
||||||
git submodule update
|
git submodule update
|
||||||
sudo apt install -y flatpak flatpak-builder p7zip-full
|
sudo apt install -y flatpak flatpak-builder p7zip-full
|
||||||
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||||
flatpak install --user -y org.kde.Sdk//5.15-21.08 org.kde.Platform//5.15-21.08 io.qt.qtwebengine.BaseApp/x86_64/5.15-21.08 org.freedesktop.Sdk.Extension.llvm13
|
flatpak install --user -y --noninteractive \
|
||||||
|
org.kde.Sdk//6.3 \
|
||||||
|
org.kde.Platform//6.3 \
|
||||||
|
org.freedesktop.Platform.ffmpeg-full/x86_64/21.08 \
|
||||||
|
io.qt.qtwebengine.BaseApp/x86_64/6.3 \
|
||||||
|
org.freedesktop.Sdk.Extension.llvm13 \
|
||||||
|
org.freedesktop.Sdk.Extension.dotnet6/x86_64/21.08
|
||||||
|
|
||||||
# for main remember to change ${HOME} into ${GITHUB_WORKSPACE}
|
|
||||||
- name: Build flatpak
|
- name: Build flatpak
|
||||||
run: |
|
run: |
|
||||||
flatpak-builder --build-only --user --force-clean --repo=${GITHUB_WORKSPACE}/local ${GITHUB_WORKSPACE}/retrodeck-flatpak-main net.retrodeck.retrodeck.yml
|
flatpak-builder --user --force-clean --install-deps-from=flathub --install-deps-from=flathub-beta --repo=${GITHUB_WORKSPACE}/local ${GITHUB_WORKSPACE}/retrodeck-flatpak-main net.retrodeck.retrodeck.yml
|
||||||
|
|
||||||
|
- name: Create Artifact for flathub
|
||||||
|
run: |
|
||||||
|
tar -czf ${GITHUB_WORKSPACE}/RetroDECK-Artifact.tar.gz -C ${GITHUB_WORKSPACE}/retrodeck-flatpak-main .
|
||||||
|
hash=($(sha256sum ${GITHUB_WORKSPACE}/RetroDECK-Artifact.tar.gz))
|
||||||
|
echo $hash > ${GITHUB_WORKSPACE}/RetroDECK-Artifact.sha
|
||||||
|
mv -f RetroDECK-Artifact.* ${{ secrets.ARTIFACT_REPO }}
|
||||||
|
continue-on-error: true
|
||||||
|
|
||||||
- name: Create Bundle
|
- name: Create Bundle
|
||||||
run: |
|
run: |
|
||||||
flatpak-builder --user --force-clean --repo=${GITHUB_WORKSPACE}/local ${GITHUB_WORKSPACE}/retrodeck-flatpak-main net.retrodeck.retrodeck.yml
|
|
||||||
flatpak build-bundle ${GITHUB_WORKSPACE}/local RetroDECK.flatpak net.retrodeck.retrodeck
|
flatpak build-bundle ${GITHUB_WORKSPACE}/local RetroDECK.flatpak net.retrodeck.retrodeck
|
||||||
|
|
||||||
- name: Read version from version file
|
|
||||||
id: version
|
|
||||||
run: echo "##[set-output name=version;]$(cat $(find . -name version))"
|
|
||||||
|
|
||||||
- name: Publish the flatpak in a new release
|
- name: Publish the flatpak in a new release
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
#tag: "${{ steps.version.outputs.version }}"
|
|
||||||
tag: "${{ steps.generating_buildid.outputs.build-id }}"
|
tag: "${{ steps.generating_buildid.outputs.build-id }}"
|
||||||
body: |
|
body: |
|
||||||
# Release Notes
|
# Release Notes
|
||||||
|
|
||||||
( Write release notes here )
|
( Write release notes here )
|
||||||
|
|
||||||
artifacts: "RetroDECK.flatpak"
|
artifacts: "RetroDECK.flatpak,RetroDECK-Artifact.tar.gz"
|
||||||
allowUpdates: true
|
allowUpdates: true
|
||||||
prerelease: true
|
prerelease: true
|
||||||
draft: true
|
draft: true
|
||||||
|
|
|
@ -69,11 +69,37 @@
|
||||||
|
|
||||||
<releases>
|
<releases>
|
||||||
|
|
||||||
<release version="0.6.0b" date="2022-10-12">
|
<release version="0.5.2b" date="2022-10-13">
|
||||||
<url>https://github.com/XargonWan/RetroDECK/releases/tag/0.6.0b</url>
|
<url>https://github.com/XargonWan/RetroDECK/releases/tag/0.5.2b</url>
|
||||||
<description>
|
<description>
|
||||||
<ul>
|
<ul>
|
||||||
<li>TBD</li>
|
<li>VERY IMPORTANT: We are moving your saves! This can take time on the first boot. If you miss some saves they are not gone. Please read more in the wiki.</li>
|
||||||
|
<li>Fixed Citra save migration folder</li>
|
||||||
|
<li>Fixed a bug where the videos were not played correctly in some cases</li>
|
||||||
|
<li>Fixed the Rewind tool</li>
|
||||||
|
</ul>
|
||||||
|
</description>
|
||||||
|
</release>
|
||||||
|
|
||||||
|
<release version="0.5.1b" date="2022-10-12">
|
||||||
|
<url>https://github.com/XargonWan/RetroDECK/releases/tag/0.5.1b</url>
|
||||||
|
<description>
|
||||||
|
<ul>
|
||||||
|
<li>VERY IMPORTANT: We are moving your saves! This can take time on the first boot. If you miss some saves they are not gone. Please read more in the wiki.</li>
|
||||||
|
<li>Fixed a bug where Yuzu was not compiled correctly</li>
|
||||||
|
<li>Updated Yuzu</li>
|
||||||
|
<li>New Logo and Theme</li>
|
||||||
|
<li>Two new themes added: Alekfull-NX-Light and Retrofix-Revisited</li>
|
||||||
|
<li>Updated ES-DE to 1.2.6</li>
|
||||||
|
<li>Implemented the first steps towards a universal Emulator Configuration Tool in the TOOLS menu</li>
|
||||||
|
<li>Ability to log into your RetroAchievements account under the TOOLS menu for RetroArch only (supported standalones coming soon)</li>
|
||||||
|
<li>Updated RetroArch and all the standalone emulators</li>
|
||||||
|
<li>Added several free assets/fonts for RetroArch, PPSSPP, XEMU and BlueMSX</li>
|
||||||
|
<li>Added a new DEFAULT Emulator for the PS2: PCSX2-QT (the former PCSX2 default emulator is now called "PCSX2 (Legacy)")</li>
|
||||||
|
<li>Changed the DEFAULT Emulator for the PSX: Swanstation (Libretro) Core</li>
|
||||||
|
<li>Added a new Standalone Emulator for the PSX: Duckstation</li>
|
||||||
|
<li>Enhanced XEMU (XBOX) experience</li>
|
||||||
|
<li>And more, for the complete patch notes please check the wiki...</li>
|
||||||
</ul>
|
</ul>
|
||||||
</description>
|
</description>
|
||||||
</release>
|
</release>
|
||||||
|
@ -117,8 +143,6 @@
|
||||||
</description>
|
</description>
|
||||||
</release>
|
</release>
|
||||||
|
|
||||||
<release version="0.4.4b" date="2022-07-18">
|
|
||||||
|
|
||||||
<release version="0.4.4b" date="2022-07-18">
|
<release version="0.4.4b" date="2022-07-18">
|
||||||
<url>https://github.com/XargonWan/RetroDECK/releases/tag/0.4.4b</url>
|
<url>https://github.com/XargonWan/RetroDECK/releases/tag/0.4.4b</url>
|
||||||
<description>
|
<description>
|
||||||
|
@ -374,4 +398,4 @@
|
||||||
</release>
|
</release>
|
||||||
|
|
||||||
</releases>
|
</releases>
|
||||||
</component>
|
</component>
|
Loading…
Reference in a new issue