From 7cd3402891217bc37c9805c3d373e0e45bbfd053 Mon Sep 17 00:00:00 2001 From: Jari Kolehmainen Date: Tue, 22 Mar 2022 08:16:37 +0200 Subject: [PATCH] automatically tag a release when package.json version changes (#173) Signed-off-by: Jari Kolehmainen --- .github/workflows/tag-release.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/tag-release.yml diff --git a/.github/workflows/tag-release.yml b/.github/workflows/tag-release.yml new file mode 100644 index 0000000..c1c9e2a --- /dev/null +++ b/.github/workflows/tag-release.yml @@ -0,0 +1,15 @@ +name: Create Publish Tag +on: + push: + branches: + - main +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: butlerlogic/action-autotag@stable + with: + strategy: package + GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + tag_prefix: "v" \ No newline at end of file