Skip to content

Commit

Permalink
ci: add auto semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
aasseman committed Nov 4, 2022
1 parent 975d227 commit c87b4f4
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/semver.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Semantic Release

on:
push:
branches:
- master

jobs:
release:
runs-on: ubuntu-latest
concurrency: release
permissions:
contents: write

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Python Semantic Release
uses: relekang/python-semantic-release@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
5 changes: 5 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[semantic_release]
upload_to_repository = false
version_source = tag_only
build_command = false
upload_to_release = false

0 comments on commit c87b4f4

Please sign in to comment.