mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
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
This commit is contained in:
committed by
Mario Romano
parent
11cadbb01f
commit
0ff268108f
6
scripts/last_beta_version.sh
Executable file
6
scripts/last_beta_version.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
ADF_VERSION=$(npm view ng2-alfresco-core@beta version)
|
||||
BETA_VERSION=( ${ADF_VERSION//-/ } )
|
||||
|
||||
echo ${BETA_VERSION[0]}
|
9
scripts/next_version.sh
Executable file
9
scripts/next_version.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/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
|
Reference in New Issue
Block a user