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:
@@ -84,5 +84,6 @@ jobs:
|
|||||||
node-version: 14
|
node-version: 14
|
||||||
- name: "Release tag"
|
- name: "Release tag"
|
||||||
run: |
|
run: |
|
||||||
git fetch --all
|
echo "DRYRUN: ${{ steps.set-dryrun.outputs.dryrun }}"
|
||||||
set -u; bash -x ./scripts/travis/release/git-tag.sh ${{ steps.set-dryrun.outputs.dryrun }}
|
# git fetch --all
|
||||||
|
# set -u; bash -x ./scripts/travis/release/git-tag.sh ${{ steps.set-dryrun.outputs.dryrun }}
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
echo "ARG: $1"
|
||||||
|
exit 0
|
||||||
if [[ $TRAVIS_BRANCH == "master" ]]; then
|
if [[ $TRAVIS_BRANCH == "master" ]]; then
|
||||||
VERSION=$(grep -m1 version package.json | awk '{ print $2 }' | sed 's/[", ]//g')
|
VERSION=$(grep -m1 version package.json | awk '{ print $2 }' | sed 's/[", ]//g')
|
||||||
else
|
else
|
||||||
@@ -7,12 +8,12 @@ else
|
|||||||
fi;
|
fi;
|
||||||
|
|
||||||
echo "git tag -a ${VERSION} -m ${VERSION}"
|
echo "git tag -a ${VERSION} -m ${VERSION}"
|
||||||
git config --local user.name "alfresco-build"
|
# git config --local user.name "alfresco-build"
|
||||||
git config --local user.email "build@alfresco.com"
|
# git config --local user.email "build@alfresco.com"
|
||||||
git tag -a ${VERSION} -m "${VERSION} [ci skip] "
|
# git tag -a ${VERSION} -m "${VERSION} [ci skip] "
|
||||||
git remote rm origin
|
# git remote rm origin
|
||||||
GITHUB_REPO=https://$GITHUB_TOKEN:x-oauth-basic@github.com/Alfresco/alfresco-ng2-components.git
|
# GITHUB_REPO=https://$GITHUB_TOKEN:x-oauth-basic@github.com/Alfresco/alfresco-ng2-components.git
|
||||||
git remote add origin $GITHUB_REPO
|
# git remote add origin $GITHUB_REPO
|
||||||
|
|
||||||
if [[ "$1" == "dryrun=--dryrun" ]]; then
|
if [[ "$1" == "dryrun=--dryrun" ]]; then
|
||||||
echo "dry run";
|
echo "dry run";
|
||||||
|
|||||||
Reference in New Issue
Block a user