From abc70e3b06b8677d2289a6f9ba1cb45100a52ba0 Mon Sep 17 00:00:00 2001 From: Maxim Samsonov Date: Wed, 14 Aug 2024 20:41:11 +0300 Subject: [PATCH] feat: create add-tag workflow (#19) --- .github/workflows/add-tag.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/add-tag.yml diff --git a/.github/workflows/add-tag.yml b/.github/workflows/add-tag.yml new file mode 100644 index 0000000..acf68d4 --- /dev/null +++ b/.github/workflows/add-tag.yml @@ -0,0 +1,19 @@ +name: add-tag + +on: + repository_dispatch: + types: [ 'tebako release' ] + +jobs: + tag: + name: tag + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Create tag + run: | + git tag -a v${{ github.event.client_payload.version }} + git push origin v${{ github.event.client_payload.version }}