From e573055766ab9d939c57ee9f65e6d3431d814be8 Mon Sep 17 00:00:00 2001 From: Esteban Vincent Date: Sun, 31 May 2026 00:45:23 +0200 Subject: [PATCH] caca --- .github/workflows/ci-cd.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index df4ede6..dad1ad2 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -65,11 +65,10 @@ jobs: run: | git config user.email "action@gitea.nasvincent.com" git config user.name "Gitea Action" - git tag ${{ steps.version.outputs.new_version }} - git push origin ${{ steps.version.outputs.new_version }} + git tag ${{ steps.version.outputs.new_version }} && git push origin ${{ steps.version.outputs.new_version }} || echo "Tag already exists, skipping" - name: Save new minor version run: | - curl -s -X PUT "https://gitea.nasvincent.com/api/v1/repos/${{ github.repository }}/actions/variables/VERSION_MINOR" \ + curl -sf -X PUT "https://gitea.nasvincent.com/api/v1/repos/${{ github.repository }}/actions/variables/VERSION_MINOR" \ -H "Authorization: token ${{ secrets.TOKEN }}" \ -H "Content-Type: application/json" \ -d "{\"value\": \"${{ steps.version.outputs.new_minor }}\"}"