From e0a737a643eaf3fb91e2091f3bface43214fe2b8 Mon Sep 17 00:00:00 2001 From: miwr Date: Thu, 24 Apr 2025 14:18:48 +0200 Subject: [PATCH] update-version.sh and deploy.yaml --- .forgejo/workflows/deploy.yaml | 1 + update-version.sh | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 7993962..5941e1b 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -52,6 +52,7 @@ jobs: run: | chmod +x update-version.sh ./update-version.sh + git push origin HEAD:${{ github.ref_name }} - name: Extract version from pom.xml id: get-version run: | diff --git a/update-version.sh b/update-version.sh index 7946bd1..a240673 100755 --- a/update-version.sh +++ b/update-version.sh @@ -44,7 +44,6 @@ git pull git stash pop git add . git commit -m "Automated update by Forgejo Actions" -git push origin HEAD:${{ github.ref_name }} # Remove unnecessary backup file rm -f pom.xml.versionsBackup