added semantic versioning

This commit is contained in:
Schmieder, Jacob
2024-05-21 07:54:16 +00:00
parent d43a7863c3
commit 16b517fa8f
+22
View File
@@ -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 }}