Skip to content

build: extend the version scheme to minor and major releases - #59

Open
dengqiaoyu wants to merge 1 commit into
apple:mainfrom
dengqiaoyu:u/qiaoyu_deng/release-schedule
Open

build: extend the version scheme to minor and major releases#59
dengqiaoyu wants to merge 1 commit into
apple:mainfrom
dengqiaoyu:u/qiaoyu_deng/release-schedule

Conversation

@dengqiaoyu

Copy link
Copy Markdown
Contributor
  • __version__ now states the release being worked toward and make build derives from it. Previously only a last-digit bump was expressible, so 1.1.0 or 2.0.0 could not be released at all.
  • check-about-version accepts any single number raised by one with the rest zeroed, and accepts a release/<version> branch on origin as evidence during the window between the cut and the tag — which is what lets main move on immediately.
  • A release branch sets latest_released_version to the release it produces, so a repo pinning external/ to that branch resolves the right baseline instead of the previous release.
  • make version now prints the publishable version; make version-dev prints the on-tree .dev0.

- `__version__` now states the release being worked toward and `make build` derives from it. Previously only a last-digit bump was expressible, so `1.1.0` or `2.0.0` could not be released at all.
- `check-about-version` accepts any single number raised by one with the rest zeroed, and accepts a `release/<version>` branch on `origin` as evidence during the window between the cut and the tag — which is what lets `main` move on immediately.
- A release branch sets `latest_released_version` to the release it produces, so a repo pinning `external/` to that branch resolves the right baseline instead of the previous release.
- `make version` now prints the publishable version; `make version-dev` prints the on-tree `.dev0`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant