mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
push test
This commit is contained in:
2
.github/workflows/devel.yml
vendored
2
.github/workflows/devel.yml
vendored
@@ -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 }}
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user