alfresco-ng2-components/scripts/last_beta_version.sh
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

7 lines
138 B
Bash
Executable File

#!/usr/bin/env bash
ADF_VERSION=$(npm view ng2-alfresco-core@beta version)
BETA_VERSION=( ${ADF_VERSION//-/ } )
echo ${BETA_VERSION[0]}