diff --git a/helper-update-version b/helper-update-version index ed2857b..070a7cc 100644 --- a/helper-update-version +++ b/helper-update-version @@ -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"