forked from etc/pineapple-src
Write version number
Copy version number to version.txt in AppImage
This commit is contained in:
parent
fdb08bced7
commit
30411404f1
1 changed files with 2 additions and 2 deletions
4
.github/workflows/appimage.sh
vendored
4
.github/workflows/appimage.sh
vendored
|
@ -36,7 +36,8 @@ chmod a+x ./squashfs-root/runtime
|
||||||
chmod a+x ./squashfs-root/update.sh
|
chmod a+x ./squashfs-root/update.sh
|
||||||
#cp /tmp/libssl.so.47 /tmp/libcrypto.so.45 /usr/lib/x86_64-linux-gnu/
|
#cp /tmp/libssl.so.47 /tmp/libcrypto.so.45 /usr/lib/x86_64-linux-gnu/
|
||||||
|
|
||||||
echo $GITHUB_SHA > $HOME/squashfs-root/version.txt
|
version=$(cat /yuzu/README.md | grep -o 'early-access [[:digit:]]*' | cut -c 14-17)
|
||||||
|
echo EA-$version > $HOME/squashfs-root/version.txt
|
||||||
|
|
||||||
unset QT_PLUGIN_PATH
|
unset QT_PLUGIN_PATH
|
||||||
unset LD_LIBRARY_PATH
|
unset LD_LIBRARY_PATH
|
||||||
|
@ -55,7 +56,6 @@ export PATH=$(readlink -f /tmp/squashfs-root/usr/bin/):$PATH
|
||||||
mkdir $HOME/squashfs-root/dist/
|
mkdir $HOME/squashfs-root/dist/
|
||||||
cp /yuzu/dist/yuzu.ico $HOME/squashfs-root/dist/
|
cp /yuzu/dist/yuzu.ico $HOME/squashfs-root/dist/
|
||||||
/tmp/squashfs-root/usr/bin/appimagetool $HOME/squashfs-root
|
/tmp/squashfs-root/usr/bin/appimagetool $HOME/squashfs-root
|
||||||
version=$(cat /yuzu/README.md | grep -o 'early-access [[:digit:]]*' | cut -c 14-17)
|
|
||||||
mv ./yuzu-x86_64.AppImage /yuzu/artifacts/version/Yuzu-EA-$version.AppImage
|
mv ./yuzu-x86_64.AppImage /yuzu/artifacts/version/Yuzu-EA-$version.AppImage
|
||||||
|
|
||||||
# Continuous AppImage
|
# Continuous AppImage
|
||||||
|
|
Loading…
Reference in a new issue