added semantic versioning
This commit is contained in:
@@ -0,0 +1,22 @@
|
|||||||
|
# .github/workflows/release.yml
|
||||||
|
name: Release
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [closed]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
if: github.event.pull_request.merged
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Tag
|
||||||
|
uses: K-Phoen/semver-release-action@master
|
||||||
|
with:
|
||||||
|
release_branch: pyproject.toml
|
||||||
|
release_strategy: none
|
||||||
|
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||||
Reference in New Issue
Block a user