safsfsd
Some checks failed
Publish Docker image / Push docker image to registry (push) Failing after 6s
Publish release zip / build (push) Successful in 59s

This commit is contained in:
sim0n00ps 2025-05-04 21:30:18 +01:00
parent f1d1272397
commit 885662fd16

View File

@ -16,13 +16,16 @@ jobs:
- name: Show .NET version - name: Show .NET version
run: dotnet --version run: dotnet --version
- name: Extract version from tag - name: Extract tag name and version
id: version id: version
run: | run: |
FULL_REF="${{ gitea.ref }}" FULL_REF="${{ gitea.ref }}"
TAG="${FULL_REF##refs/tags/OFDLV}" TAG="${FULL_REF##refs/tags/}"
echo "Version: $TAG" VERSION="${TAG#OFDLV}"
echo "version=$TAG" >> "$GITEA_OUTPUT" echo "Tag: $TAG"
echo "Version: $VERSION"
echo "tag=$TAG" >> "$GITEA_OUTPUT"
echo "version=$VERSION" >> "$GITEA_OUTPUT"
- name: Build for Windows and Linux - name: Build for Windows and Linux
run: | run: |
@ -60,7 +63,7 @@ jobs:
- name: Create release and upload artifact - name: Create release and upload artifact
uses: ./.gitea-actions/gitea-release-action uses: ./.gitea-actions/gitea-release-action
with: with:
tag: ${{ gitea.ref }} tag: ${{ steps.version.outputs.tag }}
title: ${{ steps.version.outputs.version }} title: ${{ steps.version.outputs.version }}
draft: true draft: true
files: ./OFDLV${{ steps.version.outputs.version }}.zip files: ./OFDLV${{ steps.version.outputs.version }}.zip