fix version regex

This commit is contained in:
qurious-pixel 2020-12-29 14:52:02 -08:00 committed by GitHub
parent c7a81c965c
commit a8578c576c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ mv /tmp/update/* $HOME/squashfs-root/usr/lib/
mkdir $HOME/artifacts/
mkdir -p /yuzu/artifacts/version
mv yuzu-x86_64.AppImage* /yuzu/artifacts
version=$(cat /yuzu/README.md | grep 'early-access [[:digit:]]*' | cut -c 14-17)
version=$(cat /yuzu/README.md | grep -o 'early-access [[:digit:]]*' | cut -c 14-17)
cp /yuzu/artifacts/yuzu-x86_64.AppImage /yuzu/artifacts/version/Yuzu-EA-$version.AppImage
cp -R $HOME/artifacts/ /yuzu/
cp "$BUILDBIN"/yuzu /yuzu/artifacts