Skip to content

Commit 2813075

Browse files
authored
Merge pull request #19 from blurry-dev/release-v0.4.0
Release v0.4.0
2 parents 58eecb3 + e5f784d commit 2813075

File tree

2 files changed

+7
-14
lines changed

2 files changed

+7
-14
lines changed

.github/workflows/publish.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
pypi-publish:
1313
name: Upload release to PyPI
1414
runs-on: ubuntu-latest
15-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
15+
environment: release
1616
permissions:
1717
id-token: write
1818
steps:
@@ -42,3 +42,5 @@ jobs:
4242

4343
- name: Publish package distributions to PyPI
4444
uses: pypa/gh-action-pypi-publish@release/v1
45+
with:
46+
packages-dir: dist/

pyproject.toml

+4-13
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "blurry-cli"
3-
version = "0.3.0"
3+
version = "0.4.0"
44
description = "A Mistune-based static site generator for Python"
55
authors = ["John Franey <[email protected]>"]
66
license = "MIT"
@@ -18,12 +18,8 @@ classifiers = [
1818
"Topic :: Text Processing :: Markup :: HTML ",
1919
"Topic :: Text Processing :: Markup :: Markdown ",
2020
]
21-
include = [
22-
"LICENSE",
23-
]
24-
packages = [
25-
{ include = "blurry" }
26-
]
21+
include = ["LICENSE"]
22+
packages = [{ include = "blurry" }]
2723

2824
[tool.poetry.dependencies]
2925
Jinja2 = "^3.0.0"
@@ -55,12 +51,7 @@ build-backend = "poetry.core.masonry.api"
5551

5652
[tool.pyright]
5753
include = ["blurry/**"]
58-
exclude = [
59-
"**/node_modules",
60-
"**/__pycache__",
61-
"**/.*",
62-
"blurry/tests"
63-
]
54+
exclude = ["**/node_modules", "**/__pycache__", "**/.*", "blurry/tests"]
6455

6556
[tool.poetry.plugins."blurry.html_plugins"]
6657
minify_html = 'blurry.plugins.html_plugins.minify_html_plugin:minify_html'

0 commit comments

Comments
 (0)