Change the version before building

This commit is contained in:
maurizio vitale
2019-08-20 17:47:22 +01:00
parent e27e99b551
commit 9bd08f4968
5 changed files with 7 additions and 12 deletions

View File

@@ -9,13 +9,7 @@ eval TOTAL_BUILD=true;
eval SEMANTIC="minor";
eval projects=( "cli"
"core"
"content-services"
"process-services"
"process-services-cloud"
"insights"
"testing"
"extensions" )
)
cd `dirname $0`
@@ -123,7 +117,7 @@ only_components() {
update_component_version() {
echo "====== UPDATE PACKAGE VERSION of ${PACKAGE} to ${VERSION} version in all the package.json ======"
DESTDIR="$DIR/../lib/${1}"
DESTDIR="$DIR/../lib/dist/${1}"
sed "${sedi[@]}" "s/\"version\": \".*\"/\"version\": \"${VERSION}\"/g" ${DESTDIR}/package.json
}