From db6349e2cd03bfe80710d9961ff75549a1bbbc23 Mon Sep 17 00:00:00 2001 From: Bryce Thorup Date: Mon, 1 Jan 2024 15:57:26 -0700 Subject: [PATCH] add workflow --- .gitea/workflows/push_to_main.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .gitea/workflows/push_to_main.yaml diff --git a/.gitea/workflows/push_to_main.yaml b/.gitea/workflows/push_to_main.yaml new file mode 100644 index 0000000..d4b219c --- /dev/null +++ b/.gitea/workflows/push_to_main.yaml @@ -0,0 +1,16 @@ +name: Push to main + +on: + push: + branches: [main] + +jobs: + Reset-Version-Tag: + runs-on: debian-bullseye + steps: + - name: Check out repository code + uses: actions/checkout@v3 + - run: git tag -d v1 || true + - run: git push --delete origin v1 || true + - run: git tag v1 + - run: git push --tags