mirror of
https://github.com/YunoHost-Apps/UMS_ynh.git
synced 2024-10-01 13:35:01 +02:00
source in manifest.toml
This commit is contained in:
parent
91c21f5305
commit
1a329c4931
1 changed files with 5 additions and 10 deletions
15
.github/workflows/updater.sh
vendored
15
.github/workflows/updater.sh
vendored
|
@ -99,16 +99,11 @@ else
|
||||||
extension=${filename##*.}
|
extension=${filename##*.}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Rewrite source file
|
#update manifest
|
||||||
cat <<EOT > conf/$src.src
|
sed -i "s/\A$src.url =.*/$src.url = \"$asset_url\"/" manifest.toml
|
||||||
SOURCE_URL=$asset_url
|
sed -i "s/\A$src.sha256 =*./$src.sha256 = \"$checksum\"/" manifest.toml
|
||||||
SOURCE_SUM=$checksum
|
|
||||||
SOURCE_SUM_PRG=sha256sum
|
echo "... Source updated in manifest.toml"
|
||||||
SOURCE_FORMAT=tar.gz
|
|
||||||
SOURCE_EXTRACT=true
|
|
||||||
SOURCE_IN_SUBDIR=true
|
|
||||||
EOT
|
|
||||||
echo "... conf/$src.src updated"
|
|
||||||
|
|
||||||
else
|
else
|
||||||
echo "... asset ignored"
|
echo "... asset ignored"
|
||||||
|
|
Loading…
Add table
Reference in a new issue