mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
debug dryrun mode
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "ARG: $1"
|
||||
exit 0
|
||||
if [[ $TRAVIS_BRANCH == "master" ]]; then
|
||||
VERSION=$(grep -m1 version package.json | awk '{ print $2 }' | sed 's/[", ]//g')
|
||||
else
|
||||
@@ -7,12 +8,12 @@ else
|
||||
fi;
|
||||
|
||||
echo "git tag -a ${VERSION} -m ${VERSION}"
|
||||
git config --local user.name "alfresco-build"
|
||||
git config --local user.email "build@alfresco.com"
|
||||
git tag -a ${VERSION} -m "${VERSION} [ci skip] "
|
||||
git remote rm origin
|
||||
GITHUB_REPO=https://$GITHUB_TOKEN:x-oauth-basic@github.com/Alfresco/alfresco-ng2-components.git
|
||||
git remote add origin $GITHUB_REPO
|
||||
# git config --local user.name "alfresco-build"
|
||||
# git config --local user.email "build@alfresco.com"
|
||||
# git tag -a ${VERSION} -m "${VERSION} [ci skip] "
|
||||
# git remote rm origin
|
||||
# GITHUB_REPO=https://$GITHUB_TOKEN:x-oauth-basic@github.com/Alfresco/alfresco-ng2-components.git
|
||||
# git remote add origin $GITHUB_REPO
|
||||
|
||||
if [[ "$1" == "dryrun=--dryrun" ]]; then
|
||||
echo "dry run";
|
||||
|
||||
Reference in New Issue
Block a user