mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* 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
10 lines
240 B
Bash
Executable File
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
|