File tree Expand file tree Collapse file tree 3 files changed +19
-12
lines changed
Expand file tree Collapse file tree 3 files changed +19
-12
lines changed Original file line number Diff line number Diff line change @@ -33,12 +33,15 @@ jobs:
3333 pip install -r utils/requirements.txt
3434
3535 - name : Create stable release
36+ id : release
3637 env :
3738 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3839 run : |
3940 semantic-release version --commit --tag --push
41+ echo "released=$?" >> $GITHUB_OUTPUT
4042
4143 - name : Build package
44+ if : steps.release.outputs.released == '0'
4245 run : bash utils/build_package.sh
4346
4447 # - name: Publish to TestPyPI
4851 # packages-dir: dist/
4952
5053 - name : Publish to PyPI
54+ if : steps.release.outputs.released == '0'
5155 uses : pypa/gh-action-pypi-publish@release/v1
5256 with :
5357 packages-dir : dist/
54-
55- - name : Create PR to sync release → main
56- uses : peter-evans/create-pull-request@v5
57- with :
58- token : ${{ secrets.GITHUB_TOKEN }}
59- base : main
60- head : release
61- title : " chore: merge release changes back into main"
62- body : |
63- This PR was created automatically after publishing a new PyPI release.
64- It keeps `main` in sync with version and changelog updates.
58+ skip-existing : true
Original file line number Diff line number Diff line change 22
33<!-- version list -->
44
5+ ## v0.2.0 (2025-10-30)
6+
7+ ### Features
8+
9+ - Major update
10+ ([ ` ba34ec4 ` ] ( https://github.com/UniversalPython/UniversalPython/commit/ba34ec4e9b8a153aa0a3699a65e27609733e87da ) )
11+
12+
13+ ## v0.1.0 (2025-10-30)
14+
15+ - Initial Release
16+
517## v0.1.9-b.7 (2025-10-29)
618
719
Original file line number Diff line number Diff line change @@ -47,9 +47,10 @@ universalpython = "universalpython.universalpython:main"
4747[tool .semantic_release ]
4848version_toml = [" pyproject.toml:project.version" ]
4949upload_to_pypi = false
50- tag_format = " {version}"
50+ tag_format = " v {version}"
5151build_command = " bash ./utils/build_package.sh"
5252commit_parser = " angular"
53+ commit_parser = " angular"
5354major_on_zero = true
5455allow_zero_version = true
5556prerelease_token = " b"
You can’t perform that action at this time.
0 commit comments