mirror of
https://github.com/YunoHost-Apps/ghost_ynh.git
synced 2024-09-03 19:16:02 +02:00
Fix Casper source and updater
This commit is contained in:
parent
b74d6e3ad9
commit
a76ecacb2d
2 changed files with 3 additions and 3 deletions
2
.github/workflows/updater.sh
vendored
2
.github/workflows/updater.sh
vendored
|
@ -31,7 +31,7 @@ assets+=("https://github.com/$admin_repo/archive/refs/tags/${version}.zip")
|
|||
# THEME
|
||||
theme_repo="TryGhost/Casper"
|
||||
theme_version=$(curl --silent "https://api.github.com/repos/$theme_repo/releases" | jq -r '.[] | select( .prerelease != true ) | .tag_name' | sort -V | tail -1)
|
||||
assets+=("https://github.com/$theme_repo/archive/refs/tags/${version}.zip")
|
||||
assets+=("https://github.com/$theme_repo/archive/refs/tags/${theme_version}.zip")
|
||||
|
||||
# Later down the script, we assume the version has only digits and dots
|
||||
# Sometimes the release name starts with a "v", so let's filter it out.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://github.com/TryGhost/Casper/archive/refs/tags/v5.2.4.zip
|
||||
SOURCE_SUM=d5558cd419c8d46bdc958064cb97f963d1ea793866414c025906ec15033512ed
|
||||
SOURCE_URL=https://github.com/TryGhost/Casper/archive/refs/tags/v5.1.5.zip
|
||||
SOURCE_SUM=ad883bf9e3ded051b21e4f2473cbcf32bdacdd8258f29bc45c4fdc0e3fc3e57f
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=zip
|
||||
SOURCE_IN_SUBDIR=true
|
||||
|
|
Loading…
Add table
Reference in a new issue