fix: read frontend version from release zip
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
757e3f5c93
commit
51376d05de
8
bumpp.sh
8
bumpp.sh
|
@ -1,8 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
set -xe
|
||||
|
||||
sed -i "s/\${version}/$VERSION/g" package.json
|
||||
frontend_version=$(sed -n 's/.*"VERSION": "\([^"]*\)".*/\1/p' ./frontend/version.json)
|
||||
|
||||
sed -i "s/\"version\": \".*\"/\"version\": \"$VERSION\"/" package.json
|
||||
sed -i "s/\${version}/$frontend_version/g" package.json
|
||||
|
||||
sed -i "s/\"version\": \".*\"/\"version\": \"$frontend_version\"/" package.json
|
||||
|
||||
|
|
Reference in New Issue