1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cesium_ynh.git synced 2024-09-03 18:06:25 +02:00

Update helper-update-version

This commit is contained in:
Thatoo 2019-06-16 13:59:23 +02:00 committed by GitHub
parent c0b78e82d2
commit 0b0430ec30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
#!/bin/bash
# Retrieve sources, get sha256sum, parse package version and update these strings in manifest, README and /conf/app.src
#!/bin/bash
# Retrieve sources, get sha256sum, parse package version and update these strings in manifest, README and /conf/app.src
URL=$(curl -s https://api.github.com/repos/duniter/cesium/releases/latest | grep "browser_" | grep "web" | head -1 | cut -d\" -f4)
wget -nc --quiet $URL -P ./tmp
@ -13,4 +13,4 @@ sed -i "s# \"version\": \".*# \"version\": \"${VERSION}\~ynh1\",#" ./manif
rm -f -R ./tmp
git commit README.md manifest.json conf/app.src -m "$VERSION"
git commit README.md manifest.json conf/app.src -m "$VERSION"