Skip to content

Commit

Permalink
Merge pull request #25 from e10v/dev
Browse files Browse the repository at this point in the history
Update package version
  • Loading branch information
e10v authored May 9, 2023
2 parents c728313 + d17c2db commit ebe71b3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
jobs:
publish:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -19,6 +21,4 @@ jobs:
- name: Install dependencies
run: pdm sync -G complete
- name: Build and publish
env:
PDM_PUBLISH_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: pdm publish -v
12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "rico"
version = "0.0.1"
# dynamic = ["version"]
# version = "0.0.1"
dynamic = ["version"]
description = "Rich content to HTML as easy as doc.print(x)."
authors = [
{name = "Evgeny Ivanov", email = "ivanov.evgeny.n@gmail.com"},
Expand Down Expand Up @@ -52,10 +52,10 @@ test = "pytest"
[tool.pdm.build]
package-dir = "src"

# [tool.pdm.version]
# source = "scm"
# write_to = "rico/_version.py"
# write_template = "__version__ = \"{}\""
[tool.pdm.version]
source = "scm"
write_to = "rico/_version.py"
write_template = "__version__ = \"{}\""


[tool.isort]
Expand Down
2 changes: 1 addition & 1 deletion src/rico/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""Package version."""
__version__ = "0.0.1"
__version__ = "0.0.2"

0 comments on commit ebe71b3

Please sign in to comment.