Skip to content

Commit ab16d89

Browse files
dbrattliclaude
andauthored
chore: remove release-please, use tag-based releases (#205)
Release-please added complexity without value since versions need to be manually specified anyway to stay in sync with Fable. Replaced with a simpler workflow that triggers on GitHub release publish events. - Replace release-please workflow with publish-on-release workflow - Remove release-please-config.json and .release-please-manifest.json - Clean up duplicate entries in CHANGELOG.md - Simplify RELEASING.md with new process Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1ddff97 commit ab16d89

5 files changed

Lines changed: 22 additions & 114 deletions

File tree

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,14 @@
11
on:
2-
push:
3-
branches:
4-
- main
2+
release:
3+
types: [published]
54

65
permissions:
7-
contents: write
8-
pull-requests: write
6+
contents: read
97

10-
name: Release Please
8+
name: Publish NuGet
119

1210
jobs:
13-
release-please:
14-
runs-on: ubuntu-latest
15-
outputs:
16-
release_created: ${{ steps.release.outputs.release_created }}
17-
tag_name: ${{ steps.release.outputs.tag_name }}
18-
steps:
19-
- uses: googleapis/release-please-action@v4
20-
id: release
21-
with:
22-
token: ${{ secrets.GITHUB_TOKEN }}
23-
2411
publish:
25-
needs: release-please
26-
if: ${{ needs.release-please.outputs.release_created }}
2712
runs-on: ubuntu-latest
2813
timeout-minutes: 10
2914
steps:
@@ -48,7 +33,7 @@ jobs:
4833
4934
- name: Pack NuGet
5035
env:
51-
TAG_NAME: ${{ needs.release-please.outputs.tag_name }}
36+
TAG_NAME: ${{ github.event.release.tag_name }}
5237
run: just pack-version ${TAG_NAME#v}
5338

5439
- name: Push NuGet

.release-please-manifest.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 3 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -2,35 +2,24 @@
22

33
## [5.0.0-alpha.21.5](https://github.com/fable-compiler/Fable.Python/compare/v5.0.0-alpha.21.4...v5.0.0-alpha.21.5) (2025-12-21)
44

5-
6-
### Bug Fixes
7-
8-
* remove XUnit dependency from Testing module ([3a35e44](https://github.com/fable-compiler/Fable.Python/commit/3a35e4404624a0c2c13b8c869ff987ac7c81a7d7))
9-
10-
## [5.0.0-alpha.21.4](https://github.com/fable-compiler/Fable.Python/compare/v5.0.0-alpha.21.4...v5.0.0-alpha.21.4) (2025-12-21)
11-
12-
135
### Bug Fixes
146

157
* remove XUnit dependency from Testing module ([3a35e44](https://github.com/fable-compiler/Fable.Python/commit/3a35e4404624a0c2c13b8c869ff987ac7c81a7d7))
168

179
## [5.0.0-alpha.21.4](https://github.com/fable-compiler/Fable.Python/compare/v5.0.0-alpha.21.3...v5.0.0-alpha.21.4) (2025-12-21)
1810

19-
2011
### Features
2112

2213
* add Fable.Python.Testing module for cross-platform testing ([#186](https://github.com/fable-compiler/Fable.Python/issues/186)) ([2356705](https://github.com/fable-compiler/Fable.Python/commit/235670557cfb1913b9e67f7ad2e0fd4772a6de6b))
2314

2415
## [5.0.0-alpha.21.3](https://github.com/fable-compiler/Fable.Python/compare/v5.0.0-alpha.21.2...v5.0.0-alpha.21.3) (2025-12-19)
2516

26-
2717
### Features
2818

2919
* add Fable.Types module for runtime type detection ([#184](https://github.com/fable-compiler/Fable.Python/issues/184)) ([6e1e902](https://github.com/fable-compiler/Fable.Python/commit/6e1e902a0203d24206c3a7e6719383e464193fd5))
3020

3121
## [5.0.0-alpha.21.2](https://github.com/fable-compiler/Fable.Python/compare/v5.0.0-alpha.21.1...v5.0.0-alpha.21.2) (2025-12-18)
3222

33-
3423
### Features
3524

3625
* add typed array support to Json serialization ([#182](https://github.com/fable-compiler/Fable.Python/issues/182)) ([ef67b4b](https://github.com/fable-compiler/Fable.Python/commit/ef67b4ba9258fde6a3f4ff3db0b843228953e7bc))
@@ -41,32 +30,13 @@
4130

4231
* Add Json static class with Fable-aware serialization ([#175](https://github.com/fable-compiler/Fable.Python/issues/175)) ([1eb5005](https://github.com/fable-compiler/Fable.Python/commit/1eb500523c6d6f43247bc3510a6045ec8d9d9d4e))
4332

44-
### Bug Fixes
45-
46-
* correct manifest to last released version ([bb9cb88](https://github.com/fable-compiler/Fable.Python/commit/bb9cb881c00b7ea6809ad3a87a35a7ebc0ff9008))
47-
* remove versioning strategy from release-please config ([ce84cae](https://github.com/fable-compiler/Fable.Python/commit/ce84caeeb7caa24eaecd96fb8e0723e7cb6e7c6a))
48-
* update release-please to use prerelease versioning ([7c219e8](https://github.com/fable-compiler/Fable.Python/commit/7c219e848fd3201d4567685ddfefae48c362856c))
49-
50-
## [5.0.0-alpha.21.0](https://github.com/fable-compiler/Fable.Python/compare/v5.0.0-alpha.21...v5.0.0-alpha.21.0) (2025-12-16)
33+
## [5.0.0-alpha.21.0](https://github.com/fable-compiler/Fable.Python/compare/v5.0.0-alpha.20.2...v5.0.0-alpha.21.0) (2025-12-16)
5134

5235
### Features
5336

5437
* Add exception types ([#173](https://github.com/fable-compiler/Fable.Python/issues/173)) ([72f09b2](https://github.com/fable-compiler/Fable.Python/commit/72f09b2ff6e208e3ab057430a355814611abd46c))
55-
* add Python stdlib bindings for logging, random, and expand string module ([#166](https://github.com/fable-compiler/Fable.Python/issues/166)) ([709d6c2](https://github.com/fable-compiler/Fable.Python/commit/709d6c2b29199965926ff639727fdcc1bb2e1fb8))
56-
* add write ([334e800](https://github.com/fable-compiler/Fable.Python/commit/334e80089c081bda25633f83dae037fc6c8fe6f5))
57-
* Added bindings for Pydantic and FastAPI + examples ([#151](https://github.com/fable-compiler/Fable.Python/issues/151)) ([826629e](https://github.com/fable-compiler/Fable.Python/commit/826629e465fca15d444a4ca37b851b8aab488f9a))
58-
* Fable v5 ([#147](https://github.com/fable-compiler/Fable.Python/issues/147)) ([abf8e6a](https://github.com/fable-compiler/Fable.Python/commit/abf8e6a1f7bbc2eae152431d04d6b8b5675f7795))
5938
* FastAPI async handlers ([#174](https://github.com/fable-compiler/Fable.Python/issues/174)) ([26cec1f](https://github.com/fable-compiler/Fable.Python/commit/26cec1f239f9244a7c1da1d00bbf1a479596bb3c))
6039

61-
### Bug Fixes
62-
63-
* add missing models.py for pydantic example and update README ([#168](https://github.com/fable-compiler/Fable.Python/issues/168)) ([b76ce98](https://github.com/fable-compiler/Fable.Python/commit/b76ce989e0598d0007a8a1be9addfea97936eae7))
64-
* handle return type correctly ([a634168](https://github.com/fable-compiler/Fable.Python/commit/a6341684ac8bb3f1b244f448c22e1fe6f208fbc0))
65-
* relax FSharp.Core dependency to &gt;= 5.0.0 ([#163](https://github.com/fable-compiler/Fable.Python/issues/163)) ([10eb65b](https://github.com/fable-compiler/Fable.Python/commit/10eb65b22a157078e1b66bd8fb202b0cd2acbedc))
66-
* update pyproject toml details ([#62](https://github.com/fable-compiler/Fable.Python/issues/62)) ([b511351](https://github.com/fable-compiler/Fable.Python/commit/b5113514ca6b4a9ba00734e9b3caaf363f3385af))
67-
* use plain int/string types for open ([b202a25](https://github.com/fable-compiler/Fable.Python/commit/b202a25bd7f48538fadc50125294a9252714d364))
68-
* use string types for open ([f211f8b](https://github.com/fable-compiler/Fable.Python/commit/f211f8bb9445dd6930926fe48aab6a69720dd30f))
69-
7040
### Miscellaneous Chores
7141

7242
* sync with Fable 5.0.0-alpha.21 ([fd2685c](https://github.com/fable-compiler/Fable.Python/commit/fd2685c2f992c2d8058ac1bc1261d647271359df))
@@ -81,9 +51,9 @@
8151

8252
### Bug Fixes
8353

84-
* relax FSharp.Core dependency to &gt;= 5.0.0 ([#163](https://github.com/fable-compiler/Fable.Python/issues/163)) ([10eb65b](https://github.com/fable-compiler/Fable.Python/commit/10eb65b22a157078e1b66bd8fb202b0cd2acbedc))
54+
* relax FSharp.Core dependency to >= 5.0.0 ([#163](https://github.com/fable-compiler/Fable.Python/issues/163)) ([10eb65b](https://github.com/fable-compiler/Fable.Python/commit/10eb65b22a157078e1b66bd8fb202b0cd2acbedc))
8555

86-
## [5.0.0-alpha.20](https://github.com/fable-compiler/Fable.Python/compare/v5.0.0-alpha.20...v5.0.0-alpha.20) (2025-12-08)
56+
## [5.0.0-alpha.20](https://github.com/fable-compiler/Fable.Python/compare/v4.0.0...v5.0.0-alpha.20) (2025-12-08)
8757

8858
### Features
8959

RELEASING.md

Lines changed: 14 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,37 @@
11
# Releasing Fable.Python
22

3-
This document describes the release process for Fable.Python and how to keep versions in sync with Fable.
4-
53
## Version Format
64

75
Fable.Python uses the version format `X.Y.Z-alpha.N.P` where:
86

9-
- `X.Y.Z-alpha.N` matches the Fable version (e.g., `5.0.0-alpha.21`)
7+
- `X.Y.Z-alpha.N` matches the Fable version (e.g., `5.0.0-alpha.22`)
108
- `P` is the patch version for Fable.Python releases (0, 1, 2, etc.)
119

12-
Example: `5.0.0-alpha.21.0`, `5.0.0-alpha.21.1`, `5.0.0-alpha.21.2`
10+
Example: `5.0.0-alpha.22.0`, `5.0.0-alpha.22.1`, `5.0.0-alpha.22.2`
1311

1412
## Release Process
1513

16-
This project uses [release-please](https://github.com/googleapis/release-please) to automate releases. Release-please creates and maintains a release PR that updates automatically as commits are merged to main.
17-
18-
**Important:** Due to the custom version format, use `Release-As:` to specify the version.
19-
20-
### Setting the Version
21-
22-
Add `Release-As:` in the commit message or PR description:
23-
24-
#### In the commit message
25-
26-
```text
27-
feat: add new feature
28-
29-
Release-As: 5.0.0-alpha.21.1
30-
```
31-
32-
#### In the PR description
14+
1. Go to [GitHub Releases](https://github.com/fable-compiler/Fable.Python/releases)
15+
2. Click **"Draft a new release"**
16+
3. Create a new tag in the format `v5.0.0-alpha.22.0` (with `v` prefix)
17+
4. Set the release title (e.g., `5.0.0-alpha.22.0`)
18+
5. Write release notes (or use "Generate release notes")
19+
6. For pre-release versions, check **"Set as a pre-release"**
20+
7. Click **"Publish release"**
3321

34-
Add this line anywhere in the PR body:
22+
The publish workflow will automatically build and push the NuGet package.
3523

36-
```text
37-
Release-As: 5.0.0-alpha.21.1
38-
```
24+
## Syncing with a New Fable Version
3925

40-
Release-please will use the specified version for the release.
41-
42-
### Syncing with a New Fable Version
43-
44-
When Fable releases a new version (e.g., `5.0.0-alpha.22`):
26+
When Fable releases a new version (e.g., `5.0.0-alpha.23`):
4527

4628
1. Update the codebase to work with the new Fable version
47-
2. Use `Release-As: 5.0.0-alpha.22.0` in the commit or PR
48-
3. Merge the release-please PR
29+
2. Create a release with tag `v5.0.0-alpha.23.0`
4930

50-
### Version History Example
31+
## Version History Example
5132

5233
- `5.0.0-alpha.21.0` (initial sync with Fable 5.0.0-alpha.21)
5334
- `5.0.0-alpha.21.1` (first patch)
5435
- `5.0.0-alpha.21.2` (second patch)
5536
- `5.0.0-alpha.22.0` (sync with Fable 5.0.0-alpha.22)
5637
- `5.0.0-alpha.22.1` (first patch for alpha.22)
57-
58-
## Configuration Files
59-
60-
- `release-please-config.json` - Release-please configuration (release type, tag format)
61-
- `.release-please-manifest.json` - Tracks the current released version
62-
63-
## Conventional Commits
64-
65-
This project uses [conventional commits](https://www.conventionalcommits.org/):
66-
67-
- `feat:` - New features
68-
- `fix:` - Bug fixes
69-
- `chore:`, `docs:`, `style:`, `refactor:`, `test:` - Other changes

release-please-config.json

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)