From 0f16d26ecd8f679eb354b7a5bd1359a43fc4cf2d Mon Sep 17 00:00:00 2001 From: Michael Otto Date: Wed, 18 Mar 2026 12:09:59 +0100 Subject: [PATCH] v1 --- .gitea/workflows/release.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 8b62c01..f4e18d6 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -19,6 +19,18 @@ jobs: run: | apk add --no-cache bash git jq curl + - name: Code holen + run: | + REPO_URL="https://${RELEASE_TOKEN}:x-oauth-basic@${{ vars.RELEASE_URL }}/${GITHUB_REPOSITORY}.git" + + git clone "$REPO_URL" repo + cd repo + + git checkout "$TAG" + env: + RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }} + TAG: "${{ github.ref_name }}" + - name: Version und Kanal bestimmen id: releaseinfo run: | @@ -51,7 +63,6 @@ jobs: echo "prerelease=$PRERELEASE" >> $GITHUB_OUTPUT # Optional Debug - echo "TAG=$TAG" echo "VERSION=$VERSION" echo "CHANNEL=$CHANNEL" echo "PRERELEASE=$PRERELEASE"