-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(release): remove automated release
- Loading branch information
Showing
5 changed files
with
52 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: PyPI | ||
|
||
on: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: "3.10" | ||
- uses: actions/cache@v2 | ||
with: | ||
path: .venv | ||
key: poetry-${{ hashFiles('poetry.lock') }} | ||
restore-keys: | | ||
poetry- | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install -U poetry twine | ||
poetry config virtualenvs.in-project true | ||
poetry install | ||
- name: Build package | ||
run: poetry build | ||
- name: Upload to PyPI | ||
run: twine upload dist/* | ||
env: | ||
TWINE_USERNAME: __token__ | ||
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} | ||
TWINE_NON_INTERACTIVE: true |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
# Changelog | ||
|
||
<!--next-version-placeholder--> | ||
|
||
## v0.5.0 (2022-03-03) | ||
|
||
### Breaking | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -114,14 +114,8 @@ omit = [ | |
show_missing = true | ||
|
||
[tool.semantic_release] | ||
version_toml = "pyproject.toml:tool.poetry.version" | ||
branch = "main" | ||
version_source = "tag" | ||
major_on_zero = false | ||
upload_to_repository = true | ||
upload_to_release = true | ||
build_command = "poetry build" | ||
commit_subject = "chore(release): v{version}" | ||
commit_author = "github-actions <[email protected]>" | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.0.0"] | ||
|