File tree Expand file tree Collapse file tree 3 files changed +27
-1
lines changed
Expand file tree Collapse file tree 3 files changed +27
-1
lines changed Original file line number Diff line number Diff line change 1+ .env export-ignore
2+ .git export-ignore
3+ .idea export-ignore
4+ .pytest_cache export-ignore
5+ .venv export-ignore
6+ venv export-ignore
7+ dist export-ignore
Original file line number Diff line number Diff line change 3434 rm -rf build dist *.egg-info
3535 make build ENV=stage
3636
37+ - name : Extract Version from pyproject.toml
38+ id : get_version
39+ run : |
40+ # Extract the version assuming a line like: version = "0.1.0"
41+ VERSION=$(grep -Po '^version\s*=\s*"\K[^"]+' pyproject.toml)
42+ echo "Version extracted: $VERSION"
43+ echo "version=$VERSION" >> $GITHUB_OUTPUT
44+
45+ - name : Create GitHub Release
46+ id : create_release
47+ uses : actions/create-release@v1
48+ env :
49+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
50+ with :
51+ tag_name : v${{ steps.get_version.outputs.version }}
52+ release_name : v${{ steps.get_version.outputs.version }}
53+ draft : false
54+ prerelease : false
55+
3756 - name : Install Twine
3857 run : |
3958 source venv/bin/activate
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44
55[project ]
66name = " paywithextend"
7- version = " 0.1 .0"
7+ version = " 1.0 .0"
88description = " Python client for the Extend API"
99readme = " README.md"
1010authors = [{ name = " Extend Engineering" , email = " support@paywithextend.com" }]
You can’t perform that action at this time.
0 commit comments