Skip to content

Commit a455021

Browse files
authored
Merge pull request #55 from UniversalPython/release
chore: release to main
2 parents c8b346f + 784df91 commit a455021

3 files changed

Lines changed: 89 additions & 22 deletions

File tree

.github/workflows/release-to-pypi.yml

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -33,31 +33,22 @@ jobs:
3333
pip install -r utils/requirements.txt
3434
3535
- name: Create stable release
36+
id: release
3637
env:
37-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3839
run: |
3940
semantic-release version --commit --tag --push
4041
4142
- name: Build package
4243
run: bash utils/build_package.sh
43-
- name: Publish to TestPyPI
44-
uses: pypa/gh-action-pypi-publish@release/v1
45-
with:
46-
repository-url: https://test.pypi.org/legacy/
47-
packages-dir: dist/
44+
45+
# - name: Publish to TestPyPI
46+
# uses: pypa/gh-action-pypi-publish@release/v1
47+
# with:
48+
# repository-url: https://test.pypi.org/legacy/
49+
# packages-dir: dist/
4850

4951
- name: Publish to PyPI
5052
uses: pypa/gh-action-pypi-publish@release/v1
5153
with:
52-
packages-dir: dist/
53-
54-
- name: Create PR to sync release → main
55-
uses: peter-evans/create-pull-request@v5
56-
with:
57-
token: ${{ secrets.GITHUB_TOKEN }}
58-
base: main
59-
head: release
60-
title: "chore: merge release changes back into main"
61-
body: |
62-
This PR was created automatically after publishing a new PyPI release.
63-
It keeps `main` in sync with version and changelog updates.
54+
packages-dir: dist/

CHANGELOG.md

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,80 @@
22

33
<!-- version list -->
44

5+
## v0.5.1 (2025-10-31)
6+
7+
### Bug Fixes
8+
9+
- Remove extra heading
10+
([`4bb85eb`](https://github.com/UniversalPython/UniversalPython/commit/4bb85ebf2ae78ea704770c94c12bff7708b31031))
11+
12+
13+
## v0.5.0 (2025-10-31)
14+
15+
16+
## v0.4.0 (2025-10-30)
17+
18+
19+
## v0.3.2 (2025-10-30)
20+
21+
22+
## v0.3.1 (2025-10-30)
23+
24+
### Bug Fixes
25+
26+
- Correct tag format in semantic-release config
27+
([`47a0c3d`](https://github.com/UniversalPython/UniversalPython/commit/47a0c3dd8ed6590a74cc52072d7af5ee885bb8de))
28+
29+
30+
## v0.3.0 (2025-10-30)
31+
32+
### Bug Fixes
33+
34+
- Correct tag format in semantic-release config
35+
([`3489464`](https://github.com/UniversalPython/UniversalPython/commit/3489464c881636194b07308d3d30576fc26469c7))
36+
37+
- Small change
38+
([`4e64415`](https://github.com/UniversalPython/UniversalPython/commit/4e64415073a8d968660bf78988987c014349da05))
39+
40+
- Small update
41+
([`858e633`](https://github.com/UniversalPython/UniversalPython/commit/858e6339c7c86f74e6588c8466f48bd36ade7ef9))
42+
43+
- Trigger version 0.2.2
44+
([`0813f71`](https://github.com/UniversalPython/UniversalPython/commit/0813f71927fa955ed7b8879a9d40d4fa0e709e22))
45+
46+
### Features
47+
48+
- Major update
49+
([`1d8fa54`](https://github.com/UniversalPython/UniversalPython/commit/1d8fa54bde24743548d7845d693fa9fa4a544ea5))
50+
51+
- Major update
52+
([`16d8c90`](https://github.com/UniversalPython/UniversalPython/commit/16d8c9081a8f3d38e90ad68b20beb17552f433e5))
53+
54+
- MAJOR UPDATE
55+
([`7b9d30d`](https://github.com/UniversalPython/UniversalPython/commit/7b9d30dfcb92edfcf4a475b6e68b19e75988065e))
56+
57+
- TEST
58+
([`af6f56d`](https://github.com/UniversalPython/UniversalPython/commit/af6f56df74dca5910a348d8a93cf49b86b333d10))
59+
60+
- TESTING
61+
([`b1d0d18`](https://github.com/UniversalPython/UniversalPython/commit/b1d0d189fb998e9537e35840dae4c657598c7515))
62+
63+
- TESTING 1
64+
([`2e83c3e`](https://github.com/UniversalPython/UniversalPython/commit/2e83c3e773ea15d8e7af41a2ac50b014f8bac03f))
65+
66+
67+
## v0.2.0 (2025-10-30)
68+
69+
### Features
70+
71+
- Major update
72+
([`ba34ec4`](https://github.com/UniversalPython/UniversalPython/commit/ba34ec4e9b8a153aa0a3699a65e27609733e87da))
73+
74+
75+
## v0.1.0 (2025-10-30)
76+
77+
- Initial Release
78+
579
## v0.1.9-b.7 (2025-10-29)
680

781

pyproject.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "universalpython"
7-
version = "0.1.9-b.7"
7+
version = "0.5.1"
88
authors = [
99
{name = "Saad Bazaz", email = "saadbazaz@hotmail.com"},
1010
]
@@ -47,7 +47,7 @@ universalpython = "universalpython.universalpython:main"
4747
[tool.semantic_release]
4848
version_toml = ["pyproject.toml:project.version"]
4949
upload_to_pypi = false
50-
tag_format = "{version}"
50+
tag_format = "v{version}"
5151
build_command = "bash ./utils/build_package.sh"
5252
commit_parser = "conventional"
5353
major_on_zero = true
@@ -56,6 +56,9 @@ prerelease_token = "b"
5656
changelog_file = "./CHANGELOG.md"
5757

5858
[tool.semantic_release.commit_parser_options]
59+
allowed_tags = ["feat", "fix", "docs", "style", "refactor", "perf", "test", "build", "ci", "chore"]
60+
minor_tags = ["feat"]
61+
patch_tags = ["fix", "perf"]
5962
parse_squash_commits = true
6063
ignore_merge_commits = true
6164

@@ -69,5 +72,4 @@ prerelease = false
6972

7073
[tool.semantic_release.branches.main]
7174
match = "main"
72-
prerelease = true
73-
prerelease_token = "b"
75+
prerelease = true

0 commit comments

Comments
 (0)