[ACA-4649] correctly handle missing gha dry runs

This commit is contained in:
Denys Vuika
2023-03-07 11:32:36 +00:00
parent 53d21b82d3
commit f2e20c31fb
2 changed files with 5 additions and 6 deletions
+2 -3
View File
@@ -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;