From efb02438b7b64704efb5d4b6286b350cde4fd982 Mon Sep 17 00:00:00 2001 From: Thatoo Date: Mon, 10 Jun 2019 12:38:17 +0200 Subject: [PATCH] Update helper-update-version --- scripts/helper-update-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/helper-update-version b/scripts/helper-update-version index 56271fd..cf087bb 100644 --- a/scripts/helper-update-version +++ b/scripts/helper-update-version @@ -7,7 +7,7 @@ CHECKSUM=$(sudo sha256sum ../tmp/cesium-*-web.zip | head -c 64) sed -i "s/SOURCE_SUM=.*/SOURCE_SUM=${CHECKSUM}/" ../conf/app.src PACKAGE_VERSION=$(curl -s https://api.github.com/repos/duniter/cesium/releases/latest | grep "tag_name" | head -1 | cut -d\" -f4) -sed -i "s/SOURCE_URL=.*/SOURCE_URL="https://github.com/duniter/cesium/releases/download/"${PACKAGE_VERSION}"/cesium-"${PACKAGE_VERSION}"-web.zip"/" ../conf/app.src +sed -i "s/SOURCE_URL=.*/SOURCE_URL="https://github.com/duniter/cesium/releases/download/${PACKAGE_VERSION}/cesium-${PACKAGE_VERSION}-web.zip"/" ../conf/app.src sed -i "s/"\*\*Shipped version:\*\* ".*/"\*\*Shipped version:\*\* ${PACKAGE_VERSION}"/" ../README.md sed -i "s/" \"version\": \"v".*/" \"version\": \"v${PACKAGE_VERSION}\~ynh1\","/" ../manifest.json