mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4850] Travis add check bundle size and docker publish (#5023)
* Add a check bundle job after the release * Add a docker push step and update rancher * Split update rancher in a different job * Split update rancher in a different job * Install the adf-cli * Run docker publish and rancher update only on push * Use the adf-cli local code
This commit is contained in:
9
scripts/travis/deploy/tag-travis-branch.sh
Executable file
9
scripts/travis/deploy/tag-travis-branch.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [[ $TRAVIS_BRANCH == "master" ]]; then
|
||||
TAG_VERSION=$(grep -m1 version package.json | awk '{ print $2 }' | sed 's/[", ]//g')
|
||||
else
|
||||
TAG_VERSION=$TRAVIS_BRANCH-$TRAVIS_BUILD_NUMBER
|
||||
fi;
|
||||
|
||||
echo $TAG_VERSION;
|
Reference in New Issue
Block a user