cham-logging 0.1.3__tar.gz → 0.1.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
1
  name: Publish
2
2
 
3
3
  on:
4
- release:
5
- types: [published]
6
- workflow_dispatch:
4
+ push:
5
+ tags:
6
+ - "v*"
7
7
 
8
8
  jobs:
9
9
  build:
@@ -29,7 +29,7 @@ jobs:
29
29
  run: uv build --no-sources
30
30
 
31
31
  - name: Check wheel import
32
- run: uv run --with dist/*.whl --no-project -- python -c "from cham_logging.bootstrap import init_logger; print(init_logger)"
32
+ run: uv run --with dist/*.whl --no-project -- python -I -c "from cham_logging.bootstrap import init_logger; import cham_logging; print(cham_logging.__file__)"
33
33
 
34
34
  - name: Upload package distributions
35
35
  uses: actions/upload-artifact@v4
@@ -38,7 +38,7 @@ jobs:
38
38
  path: dist/
39
39
 
40
40
  publish:
41
- name: Publish to PyPI
41
+ name: Publish package
42
42
  needs: build
43
43
  runs-on: ubuntu-latest
44
44
  environment:
@@ -46,7 +46,7 @@ jobs:
46
46
  url: https://pypi.org/project/cham-logging/
47
47
 
48
48
  permissions:
49
- contents: read
49
+ contents: write
50
50
  id-token: write
51
51
 
52
52
  steps:
@@ -58,3 +58,12 @@ jobs:
58
58
 
59
59
  - name: Publish package
60
60
  uses: pypa/gh-action-pypi-publish@release/v1
61
+
62
+ - name: Create GitHub Release
63
+ run: >-
64
+ gh release create "$GITHUB_REF_NAME"
65
+ dist/*.whl dist/*.tar.gz
66
+ --repo "$GITHUB_REPOSITORY"
67
+ --verify-tag --generate-notes
68
+ env:
69
+ GH_TOKEN: ${{ github.token }}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: cham-logging
3
- Version: 0.1.3
3
+ Version: 0.1.4
4
4
  Summary: A small stdlib-only helper for configuring Python logging.
5
5
  Project-URL: Repository, https://github.com/Chamkang6093/cham-logging
6
6
  Author: Cham
@@ -7,7 +7,7 @@ packages = ["cham_logging"]
7
7
 
8
8
  [project]
9
9
  name = "cham-logging"
10
- version = "0.1.3"
10
+ version = "0.1.4"
11
11
  description = "A small stdlib-only helper for configuring Python logging."
12
12
  readme = "README.md"
13
13
  requires-python = ">=3.12"
@@ -4,5 +4,5 @@ requires-python = ">=3.12"
4
4
 
5
5
  [[package]]
6
6
  name = "cham-logging"
7
- version = "0.1.3"
7
+ version = "0.1.4"
8
8
  source = { editable = "." }
File without changes
File without changes
File without changes