Skip to content

Commit

Permalink
release: version v0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
voznik committed Jul 21, 2024
1 parent 7ae07b4 commit cf89287
Show file tree
Hide file tree
Showing 3 changed files with 100 additions and 53 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.10
python-version: '3.10'
cache: 'poetry'

- name: Install Poetry
run: |
Expand All @@ -25,4 +26,10 @@ jobs:
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_API_TOKEN }}
run: |
poetry publish --build
poetry build
# poetry publish
- name: Python Semantic Release
uses: python-semantic-release/python-semantic-release@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
126 changes: 78 additions & 48 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 11 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "streamlit-textcomplete"
version = "0.1.0"
version = "0.1.1"
description = "Streamlit autocomplete Textcomplete editor for HTMLTextAreaElement"
authors = ["voznik <[email protected]>"]
readme = "README.md"
Expand Down Expand Up @@ -78,3 +78,13 @@ line-length = 100
select = ["B", "E", "F", "W", "I"]

[tool.ruff.per-file-ignores]

[tool.semantic_release]
version_variable = [
"textcomplete/__init__.py:__version__",
"pyproject.toml:version"
]
branch = "main"
upload_to_pypi = true
upload_to_release = true
build_command = "pip install poetry && poetry build"

0 comments on commit cf89287

Please sign in to comment.