mirror of
https://github.com/YunoHost-Apps/mastodon_ynh.git
synced 2024-09-03 19:46:02 +02:00
Update updater.sh
This commit is contained in:
parent
ab63880675
commit
d742694609
1 changed files with 3 additions and 2 deletions
5
.github/workflows/updater.sh
vendored
5
.github/workflows/updater.sh
vendored
|
@ -22,7 +22,7 @@ assets="https://github.com/tootsuite/mastodon/archive/refs/tags/$version.tar.gz"
|
||||||
|
|
||||||
# Later down the script, we assume the version has only digits and dots
|
# 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.
|
# Sometimes the release name starts with a "v", so let's filter it out.
|
||||||
# You may need more tweaks here if the upstream repository has different naming conventions.
|
# You may need more tweaks here if the upstream repository has different naming conventions.
|
||||||
if [[ ${version:0:1} == "v" || ${version:0:1} == "V" ]]; then
|
if [[ ${version:0:1} == "v" || ${version:0:1} == "V" ]]; then
|
||||||
version=${version:1}
|
version=${version:1}
|
||||||
fi
|
fi
|
||||||
|
@ -50,7 +50,9 @@ fi
|
||||||
|
|
||||||
# Let's download source tarball
|
# Let's download source tarball
|
||||||
asset_url=$assets
|
asset_url=$assets
|
||||||
|
|
||||||
echo "Handling asset at $asset_url"
|
echo "Handling asset at $asset_url"
|
||||||
|
|
||||||
src="app"
|
src="app"
|
||||||
|
|
||||||
# Create the temporary directory
|
# Create the temporary directory
|
||||||
|
@ -82,7 +84,6 @@ SOURCE_FILENAME=
|
||||||
EOT
|
EOT
|
||||||
echo "... conf/$src.src updated"
|
echo "... conf/$src.src updated"
|
||||||
|
|
||||||
#
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC UPDATE STEPS
|
# SPECIFIC UPDATE STEPS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue