Skip to content

Commit

Permalink
chore(release): configure release with semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
anehx committed Mar 2, 2022
1 parent d499d39 commit 62fc9e7
Show file tree
Hide file tree
Showing 4 changed files with 559 additions and 10 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Release

on:
workflow_dispatch:

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install dependencies
run: |
pip install -U pip
pip install -U poetry
poetry install
- name: Run semantic release
run: |
git config user.name github-actions
git config user.email [email protected]
poetry run semantic-release publish
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
REPOSITORY_USERNAME: __token__
REPOSITORY_PASSWORD: ${{ secrets.PYPI_TOKEN }}
5 changes: 1 addition & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# Changelog

## Next

- Renamed option `lock_manager` to `lock_storage`
- Removed support for python 3.6 and added support for 3.10
<!--next-version-placeholder-->

## 0.2

Expand Down
Loading

0 comments on commit 62fc9e7

Please sign in to comment.