Fix indent in release workflow (#2477)

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
Avgustin Marinov
2025-06-19 14:08:48 +03:00
committed by GitHub
parent e3bf3c3016
commit 592380a50c
2 changed files with 5 additions and 11 deletions

View File

@@ -50,8 +50,6 @@ jobs:
git config --local user.name "github-actions[bot]"
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git add ${DEPENDENCY_FILE} && git commit -m "[Release] Automated commit of ${DEPENDENCY_FILE} changes" && git push
git config --local --unset user.name
git config --local --unset user.email
else
echo "Unexpected changes:"
git status --short

View File

@@ -72,8 +72,6 @@ jobs:
git config --local user.name "github-actions[bot]"
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git add ${DEPENDENCY_FILE} && git commit -m "[Release] Automated commit of ${DEPENDENCY_FILE} changes" && git push
git config --local --unset user.name
git config --local --unset user.email
else
echo "Unexpected changes:"
git status --short
@@ -102,12 +100,10 @@ jobs:
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
- name: Tag release
run: |
if [ "${REVISION}" != "0-SNAPSHOT" ]; then
git config --local user.name "github-actions[bot]"
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git tag -a ${REVISION} -m "Release version ${REVISION}" && git push origin ${REVISION}
git config --local --unset user.name
git config --local --unset user.email
fi
if [ "${REVISION}" != "0-SNAPSHOT" ]; then
git config --local user.name "github-actions[bot]"
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git tag -a ${REVISION} -m "Release version ${REVISION}" && git push origin ${REVISION}
fi
env:
REVISION: ${{ github.event.inputs.revision }}