Skip to content

Commit

Permalink
Merge pull request #82 from FixeQyt/patch-12
Browse files Browse the repository at this point in the history
Ensure that versions do not duplicate in Debian-based operating systems.
  • Loading branch information
NotroDev authored Jul 12, 2024
2 parents ea9615d + 2d8d37a commit f785887
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:
pwd
wget -O control -r 'https://www.dropbox.com/scl/fi/tep20aykrghy2aamc1m77/control-arm64?rlkey=bhfztntq2tzzbtiv3xv9oea6j&dl=1'
echo "exported_ver=\$(curl -s \"https://camo.githubusercontent.com/024e74589d307c8cbe664b87c58cf65e2b62587aec02459d998719874ea7b5eb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f536b456469746f725465616d2f536b456469746f723f636f6c6f723d253233376133346562266c6162656c3d76657273696f6e267374796c653d666c61742d737175617265\" | grep -oP '(?<=<title>).*?(?=</title>)' | sed 's/v\([0-9]\)/\1/') && exported_ver=\"\${exported_ver^}\"" >> getver
echo "echo \"\$exported_ver\" >> control" >> getver
echo "echo \"\$exported_ver-gh-b${GITHUB_RUN_ID}\" >> control" >> getver
bash getver
rm -f getver
echo "Maintainer: Notro" >> control
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
pwd
wget -O control -r 'https://www.dropbox.com/scl/fi/1m8evp1rh56zon4s4fwsk/control-x64?rlkey=a8dyx3bpss9bxpjgpwi4wrasp&st=5uyxnsj9&dl=1'
echo "exported_ver=\$(curl -s \"https://camo.githubusercontent.com/024e74589d307c8cbe664b87c58cf65e2b62587aec02459d998719874ea7b5eb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f536b456469746f725465616d2f536b456469746f723f636f6c6f723d253233376133346562266c6162656c3d76657273696f6e267374796c653d666c61742d737175617265\" | grep -oP '(?<=<title>).*?(?=</title>)' | sed 's/v\([0-9]\)/\1/') && exported_ver=\"\${exported_ver^}\"" >> getver
echo "echo \"\$exported_ver\" >> control" >> getver
echo "echo \"\$exported_ver-gh-b${GITHUB_RUN_ID}\" >> control" >> getver
bash getver
rm -f getver
echo "Maintainer: Notro" >> control
Expand Down

0 comments on commit f785887

Please sign in to comment.