File tree Expand file tree Collapse file tree 6 files changed +7358
-146
lines changed Expand file tree Collapse file tree 6 files changed +7358
-146
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+
8+ jobs :
9+ release :
10+ name : Release
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@v5
15+ with :
16+ fetch-depth : 0
17+ - name : Setup Node.js
18+ uses : actions/setup-node@v5
19+ with :
20+ node-version : 22
21+ - name : Install semantic-release
22+ run : npm install
23+ - name : Set up Python
24+ uses : actions/setup-python@v6
25+ with :
26+ python-version : ' 3.10'
27+ - name : Release
28+ env :
29+ GH_TOKEN : ${{ secrets.GH_TOKEN }}
30+ PYPI_TOKEN : ${{ secrets.PYPI_TOKEN }}
31+ run : npx semantic-release
Original file line number Diff line number Diff line change 9797.mypy_cache
9898
9999.vscode
100-
100+ node_modules
Original file line number Diff line number Diff line change 1+ {
2+ "branches" : [
3+ " master"
4+ ],
5+ "plugins" : [
6+ " @semantic-release/commit-analyzer" ,
7+ " @semantic-release/release-notes-generator" ,
8+ [
9+ " semantic-release-pypi" ,
10+ {
11+ "pypiPublish" : false ,
12+ "versionCmd" : [
13+ " sed" ,
14+ " -i" ,
15+ " s/^__version__ = \" .*\" /__version__ = \" ${version}\" /" ,
16+ " fs/_version.py"
17+ ]
18+ }
19+ ],
20+ [
21+ " @semantic-release/github" ,
22+ {
23+ "assets" : [
24+ {
25+ "path" : " dist/fs*.whl" ,
26+ "label" : " wheel"
27+ },
28+ {
29+ "path" : " dist/fs*.tar.gz" ,
30+ "label" : " sdist"
31+ }
32+ ]
33+ }
34+ ],
35+ [
36+ " @semantic-release/git" ,
37+ {
38+ "message" : " chore(release): ${nextRelease.version} [skip ci]\n\n ${nextRelease.notes}" ,
39+ "assets" : [
40+ " CHANGELOG.md" ,
41+ " fs/_version.py"
42+ ]
43+ }
44+ ]
45+ ]
46+ }
You can’t perform that action at this time.
0 commit comments