File tree Expand file tree Collapse file tree 3 files changed +22
-1
lines changed Expand file tree Collapse file tree 3 files changed +22
-1
lines changed Original file line number Diff line number Diff line change 70
70
id-token : write # IMPORTANT: mandatory for sigstore
71
71
72
72
steps :
73
+ - name : Check out the repository
74
+ uses : actions/checkout@v4
75
+ with :
76
+ fetch-depth : 0 # Fetch all tags and history
77
+ - name : Get tag annotation
78
+ id : tag_annotation
79
+ run : |
80
+ # Extract the tag annotation for release notes
81
+ tag_annotation=$(git for-each-ref --format '%(contents:body)' refs/tags/${{ github.ref_name }})
82
+ echo "annotation=$tag_annotation" >> $GITHUB_ENV
73
83
- name : Download all the dists
74
84
uses : actions/download-artifact@v4
75
85
with :
88
98
gh release create
89
99
'${{ github.ref_name }}'
90
100
--repo '${{ github.repository }}'
91
- --notes ""
101
+ --title '${{ github.ref_name }}'
102
+ --notes "${{ env.annotation }}"
92
103
- name : Upload artifact signatures to GitHub Release
93
104
env :
94
105
GITHUB_TOKEN : ${{ github.token }}
Original file line number Diff line number Diff line change @@ -94,6 +94,14 @@ To run tests in a venv: `make test` (not implemented yet)
94
94
- Using ` nix ` :
95
95
- ` nix develop ` : Provides development shell with all dependencies.
96
96
- ` make test ` and ` hatch build/publish ` work as usual.
97
+ - GitHub Action will upload to TestPyPi on each push to ` main ` . To create a
98
+ GitHub and PyPi release, create a new tag (formatting below) and push tags.
99
+
100
+ <tag name on first line>
101
+
102
+ * Release note 1
103
+ * Release note 2
104
+ * ...
97
105
98
106
## Planned features
99
107
Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ classifiers = [
31
31
" Programming Language :: Python :: 3.9" ,
32
32
" Programming Language :: Python :: 3.10" ,
33
33
" Programming Language :: Python :: 3.11" ,
34
+ " Programming Language :: Python :: 3.12" ,
35
+ " Programming Language :: Python :: 3.13" ,
34
36
" Topic :: Utilities" ,
35
37
]
36
38
dependencies = [
You can’t perform that action at this time.
0 commit comments