From a76a1a4f59c80b4b69ea198fe3addc60f59d429d Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sat, 31 Jan 2026 11:08:56 +0000 Subject: [PATCH] Initial upload with CI/CD workflow --- .gitea/workflows/git-version.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitea/workflows/git-version.yml diff --git a/.gitea/workflows/git-version.yml b/.gitea/workflows/git-version.yml new file mode 100644 index 0000000..2d044a4 --- /dev/null +++ b/.gitea/workflows/git-version.yml @@ -0,0 +1,19 @@ +name: Git Version + +on: + push: + branches: [main] + +jobs: + git-version: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Get Version + id: version + run: | + VERSION=$(git describe --tags --always --dirty) + echo "VERSION=$VERSION" >> $GITHUB_OUTPUT + - name: Print Version + run: | + echo ${{ steps.version.outputs.VERSION }}