From f82e5fe2ee0fefb97403068b1c87371654b7d57d Mon Sep 17 00:00:00 2001 From: Semih Date: Wed, 18 Mar 2026 15:32:50 +0100 Subject: [PATCH] .github/workflows/build.yml aktualisiert --- .github/workflows/build.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0bccada..bc952d2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,8 +27,15 @@ jobs: - name: Build with Maven run: mvn -B clean package + - name: Set release tag to current datetime + id: datetime + run: | + TAG_NAME="$(date -u '+%Y%m%d')" + echo "TAG_NAME=$TAG_NAME" >> $GITHUB_OUTPUT + - name: Create Release uses: https://git.oryfox.de/actions/gitea-release-action@v1 with: files: target/inventory-tools.jar - token: ${{ secrets.REPOSITORY_TOKEN }} \ No newline at end of file + token: ${{ secrets.REPOSITORY_TOKEN }} + tag_name: ${{ steps.datetime.outputs.TAG_NAME }} \ No newline at end of file