From f73f4eba5337a860a3f1ab812874a6cb64bb2ff9 Mon Sep 17 00:00:00 2001 From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com> Date: Sun, 28 Jan 2024 20:34:43 +0100 Subject: [PATCH] Create release_tag.yml Solves #1740 --- .github/workflows/release_tag.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/release_tag.yml diff --git a/.github/workflows/release_tag.yml b/.github/workflows/release_tag.yml new file mode 100644 index 0000000..de6605c --- /dev/null +++ b/.github/workflows/release_tag.yml @@ -0,0 +1,19 @@ +--- +name: Update Stable Tag + +on: + release: + types: [published] + +jobs: + update-tag: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4.1.0 + + - name: Move and push tag + run: | + git tag -f stable ${{ github.event.release.tag_name }} + git push -f origin stable +...