Skip to content

Commit 4575f9e

Browse files
committed
Get version from qwc2/package.json
1 parent 68be225 commit 4575f9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ echo "" >> src/references/index.md
1818
echo "index.md" > src/references/.gitignore
1919

2020
echo "* Getting latest version..."
21-
version=$(curl https://raw.githubusercontent.com/qgis/qwc2-demo-app/${branch}/package.json | grep -Eo '^\s*"version": "[^"]+",$' | awk -F'"' '{print $4}')
21+
version=$(curl https://raw.githubusercontent.com/qgis/qwc2/${branch}/package.json | grep -Eo '^\s*"version": "[^"]+",$' | awk -F'"' '{print $4}')
2222
sed "s|@version@|$version|" qwc2.yml.in > qwc2.yml
2323

2424
echo "* Downloading plugin reference..."

0 commit comments

Comments
 (0)