Skip to content

Commit eeadd71

Browse files
committed
ci: add auto SemVer releases
Signed-off-by: Alexis Asseman <alexis@semiotic.ai>
1 parent 5c0df9a commit eeadd71

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.github/workflows/semver.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Semantic Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
release:
10+
runs-on: ubuntu-latest
11+
concurrency: release
12+
permissions:
13+
contents: write
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
with:
18+
fetch-depth: 0
19+
20+
- name: Python Semantic Release
21+
uses: relekang/python-semantic-release@master
22+
with:
23+
github_token: ${{ secrets.GITHUB_TOKEN }}

setup.cfg

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[semantic_release]
2+
upload_to_repository = false
3+
version_source = tag_only
4+
build_command = false
5+
upload_to_release = false

0 commit comments

Comments
 (0)