push test

This commit is contained in:
Marco Carrozzo
2023-01-11 12:24:10 +01:00
parent 20750d8318
commit 1144a094f6
2 changed files with 7 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ name: "devel"
on: on:
push: push:
branches: branches:
- AAE-* - AAE-12037
env: env:
BASE_REF: ${{ github.base_ref }} BASE_REF: ${{ github.base_ref }}

View File

@@ -9,7 +9,7 @@ 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
@@ -17,7 +17,11 @@ git remote add origin $GITHUB_REPO
if [[ "$1" == "--dryrun" ]]; then if [[ "$1" == "--dryrun" ]]; then
echo "dry run"; echo "dry run";
git tag | grep "${VERSION}" git tag | grep "${VERSION}"
git checkout origin/develop git switch -c AAE-12037-dev
touch dev.test
git add dev.test
git commit -m "add dev.test"
git push origin AAE-12037-dev
else else
echo "LIVE!" echo "LIVE!"
# git push origin --tags # git push origin --tags