Enzo Rivello 0ff268108f Enzor/travis build (#2287)
* removing the directive to remove the node_modules folder

* publishing from travis

* beta and major gets pushed to the beta channel. only major get tagged to latest, in a different job
2017-09-05 15:16:41 +01:00

10 lines
240 B
Bash
Executable File

#!/usr/bin/env bash
ADF_VERSION=$(npm view ng2-alfresco-core version)
NEXT_VERSION=( ${ADF_VERSION//./ } )
((NEXT_VERSION[1]++))
NEXT_VERSION[2]=0
NEXT_VERSION="${NEXT_VERSION[0]}.${NEXT_VERSION[1]}.${NEXT_VERSION[2]}"
echo $NEXT_VERSION