From de34ac63af0c8e72e08ed3a68e77ee0c1e60439b Mon Sep 17 00:00:00 2001 From: tomoron Date: Tue, 15 Apr 2025 19:54:43 +0200 Subject: [PATCH] create tag automatically on push --- .gitea/workflows/default.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitea/workflows/default.yaml b/.gitea/workflows/default.yaml index b58ab67..656ee26 100644 --- a/.gitea/workflows/default.yaml +++ b/.gitea/workflows/default.yaml @@ -19,6 +19,14 @@ jobs: #- name: build iso # run: make iso + + - name: Create tag + run: | + TAG=$(git rev-parse --short HEAD) + git config user.name "github-actions" + git config user.email "actions@github.com" + git tag $TAG + git push origin $TAG - name: create release uses: https://gitea.com/actions/release-action@main