Skip to content

Commit b4818d2

Browse files
authored
chore: preparing for 1.0 RC version (#817)
1. Run release-please on 1.0-dev and set `target-branch` in the GitHub Action. 2. Use advanced configuration to specify pre-release versioning (`"prerelease": true` and `"prerelease-type": "alpha"`), this is going to result in `1.0.0a0` (see [here](https://packaging.python.org/en/latest/specifications/version-specifiers/#pre-releases) package for `v1.0.0-alpha.0` tag. 3. [python-publish.yml](https://github.com/a2aproject/a2a-python/blob/main/.github/workflows/python-publish.yml) workflow was disabled as a safety measure in case release-please goes crazy with this config. For now do not specify `last-release-sha` explicitly ([docs](https://github.com/googleapis/release-please/blob/main/docs/manifest-releaser.md#configfile)), will check the behavior first, changelog will have to be created manually most likely either way.
1 parent 87b9fd6 commit b4818d2

3 files changed

Lines changed: 13 additions & 1 deletion

File tree

.github/workflows/release-please.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ on:
22
push:
33
branches:
44
- main
5+
- 1.0-dev
56

67
permissions:
78
contents: write
@@ -16,4 +17,6 @@ jobs:
1617
- uses: googleapis/release-please-action@v4
1718
with:
1819
token: ${{ secrets.A2A_BOT_PAT }}
19-
release-type: python
20+
target-branch: ${{ github.ref_name }}
21+
config-file: release-please-config.json
22+
manifest-file: .release-please-manifest.json

.release-please-manifest.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

release-please-config.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"release-type": "python",
3+
"prerelease": true,
4+
"prerelease-type": "alpha",
5+
"packages": {
6+
".": {}
7+
}
8+
}

0 commit comments

Comments
 (0)