mirror of
https://github.com/sneexy-boi/copr.git
synced 2025-07-07 08:05:29 +02:00
fix(zen-browser): ensure twilight builds are actually updated in nightly form
This commit is contained in:
parent
eb2695045e
commit
2ccefd32b2
3 changed files with 5 additions and 2 deletions
5
.github/workflows/zen-browser-sync.yml
vendored
5
.github/workflows/zen-browser-sync.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue