Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
chore: create release
Browse files Browse the repository at this point in the history
  • Loading branch information
Mara-Li committed Oct 5, 2023
1 parent 92893d5 commit 7c8896c
Show file tree
Hide file tree
Showing 3 changed files with 411 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Semantic Release

on:
push:
branches:
- main

jobs:
release:
runs-on: ubuntu-latest
concurrency: release

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Python Semantic Release
uses: python-semantic-release/python-semantic-release@master
id: release
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish to Pypi
uses: pypa/gh-action-pypi-publish@release/v1
if: steps.release.outputs.released == 'true'
- name: Publish to GitHub Release
if: steps.release.outputs.released == 'true'
uses: python-semantic-release/upload-to-gh-release@main
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 4 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@ name = "pypi"
[packages]
mkdocs = "*"
markdown = "*"
python-semantic-release = "*"

[dev-packages]

[requires]
python_version = "3.12"

[scripts]
bump = "semantic-release publish"
Loading

0 comments on commit 7c8896c

Please sign in to comment.