1
0
Fork 0
mirror of https://github.com/sneexy-boi/copr.git synced 2025-07-06 23:55:30 +02:00

fix(zen-browser): ensure twilight builds are actually updated in nightly form

This commit is contained in:
Ruben 2025-04-07 10:41:03 -05:00
parent eb2695045e
commit 2ccefd32b2
No known key found for this signature in database
GPG key ID: AE181294E97E4802
3 changed files with 5 additions and 2 deletions

View file

@ -46,9 +46,10 @@ jobs:
id: update_twilight
run: |
ZEN_VER_TWILIGHT=$(curl -s "https://updates.zen-browser.app/updates/browser/Linux_x86_64-gcc3/twilight/update.xml" | xmllint --xpath 'string(//update/@displayVersion)' -)
ZEN_ID_TWILIGHT=$(curl -s "https://updates.zen-browser.app/updates/browser/Linux_x86_64-gcc3/twilight/update.xml" | xmllint --xpath 'string(//update/@buildID)' -)
OLD_VER=$(grep '^Version:' /home/runner/work/copr/copr/zen-browser/zen-twilight.spec | awk '{print $2}')
sed -i '0,/Version:.*/s//Version: '$ZEN_VER_TWILIGHT'/' /home/runner/work/copr/copr/zen-browser/zen-twilight.spec
sed -i '0,/Version:.*/s//Version: '$ZEN_VER_TWILIGHT'/' /home/runner/work/copr/copr/zen-browser/zen-twilight-aarch64.spec
sed -i '0,/Version:.*/s//Version: '$ZEN_VER_TWILIGHT'.'$ZEN_ID_TWILIGHT'/' /home/runner/work/copr/copr/zen-browser/zen-twilight.spec
sed -i '0,/Version:.*/s//Version: '$ZEN_VER_TWILIGHT'.'$ZEN_ID_TWILIGHT'/' /home/runner/work/copr/copr/zen-browser/zen-twilight-aarch64.spec
if [ "$ZEN_VER_TWILIGHT" != "$OLD_VER" ]; then
echo "::set-output name=twilight_version_changed::true"
else

View file

@ -9,6 +9,7 @@ Summary: Zen Browser
License: MPLv2.0
URL: https://github.com/zen-browser/desktop
Source0: https://github.com/zen-browser/desktop/releases/download/1.11.1b/zen.linux-aarch64.tar.xz
Source1: %{full_name}.desktop
Source2: policies.json

View file

@ -9,6 +9,7 @@ Summary: Zen Browser
License: MPLv2.0
URL: https://github.com/zen-browser/desktop
Source0: https://github.com/zen-browser/desktop/releases/download/1.11.1b/zen.linux-x86_64.tar.xz
Source1: %{full_name}.desktop
Source2: policies.json