ci: 👷 Auto create tags
This commit is contained in:
13
.github/workflows/create-latest-tag.yml
vendored
Normal file
13
.github/workflows/create-latest-tag.yml
vendored
Normal 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
21
.github/workflows/create-tag.yml
vendored
Normal 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'
|
Reference in New Issue
Block a user