2
0

ci: 👷 Auto create tags

This commit is contained in:
Baptiste Arnaud
2022-06-13 11:50:32 +02:00
parent 3105adedb3
commit 5c54bb7755
3 changed files with 35 additions and 0 deletions

13
.github/workflows/create-latest-tag.yml vendored Normal file
View File

@ -0,0 +1,13 @@
name: Create latest tag
on:
push:
tags:
- 'v*.*.*'
jobs:
create-tag:
runs-on: ubuntu-latest
steps:
- name: Run latest-tag
uses: EndBug/latest-tag@latest

21
.github/workflows/create-tag.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: Create Tag
on:
push:
branches:
- main
jobs:
create-tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: Klemensas/action-autotag@stable
with:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
tag_prefix: 'v'
- uses: Klemensas/action-autotag@stable
with:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
package_root: '/packages/typebot-js'
tag_prefix: 'js-lib-v'