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:
parent
c0b78e82d2
commit
0b0430ec30
1 changed files with 3 additions and 3 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue