From 6b66cdf38776ec8a277a5a34bc37270bac308a6e Mon Sep 17 00:00:00 2001 From: Ivan Dlugos <6349682+vaind@users.noreply.github.com> Date: Tue, 4 Oct 2022 14:18:07 +0200 Subject: [PATCH] Create versioning.yml This ensures the shorthand tags are updated on every release, i.e. that `v2` always points to the latest `v2.x.y` --- .github/workflows/versioning.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/versioning.yml diff --git a/.github/workflows/versioning.yml b/.github/workflows/versioning.yml new file mode 100644 index 0000000..8358395 --- /dev/null +++ b/.github/workflows/versioning.yml @@ -0,0 +1,13 @@ +name: Sync release tags + +on: + release: + types: [published, edited] + +jobs: + actions-tagger: + runs-on: ubuntu-latest + steps: + - uses: Actions-R-Us/actions-tagger@f411bd910a5ad370d4511517e3eac7ff887c90ea # pin@v2 + with: + publish_latest_tag: true