mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
[ACA-4649] correctly handle missing gha dry runs
This commit is contained in:
@@ -23,9 +23,9 @@ runs:
|
||||
run: |
|
||||
if [[ "${{ inputs.branch_name }}" == "master" ]]; then
|
||||
VERSION=$(jq -cr '.version' < package.json)
|
||||
|
||||
echo "git tag -a ${VERSION} -m ${VERSION}"
|
||||
if [[ "${{ inputs.dry-run }}" == "false" ]]; then
|
||||
|
||||
if [[ "${{ inputs.dry-run }}" != "true" ]]; then
|
||||
git tag -a ${VERSION} -m "${VERSION} [ci skip] "
|
||||
git remote rm origin
|
||||
GITHUB_REPO=https://${{ inputs.github_token }}:x-oauth-basic@github.com/Alfresco/alfresco-content-app.git
|
||||
@@ -34,4 +34,3 @@ runs:
|
||||
fi;
|
||||
|
||||
fi;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user