You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to clarify and document our release process for the OASF project to ensure everyone is aligned.
Release Branches and Versioning
We use release branches for each schema release because the schema and server are shipped bundled within a Docker image.
The schema itself should never be changed once published, but the server can be improved independently.
It is common to cherry-pick commits and update the server for earlier schema versions to fix bugs or add features that should be present across all OASF versions.
We bump the minor version when the schema changes, and the patch version when only the server changes.
Release Steps for a New Schema Version
Create a release branch named after the version number without the v prefix (e.g., 0.6.0) to avoid collision with tag names.
Push a commit to that branch updating the version number in schema/version.json to the new version. Also bump the server version to the same version number in server/mix.exs.
Tag the commit with the new version tag (e.g., v0.6.0) and push it so the CI pipeline can create the packages.
Generate release notes on GitHub and publish the new release.
Do not delete the release branch after the release.
Tasks After a Schema Release
Open a pull request to the main branch where the version in schema/version.json is bumped to the upcoming schema version with the -dev suffix, for example, 0.7.0-dev.
Adjust the versions in install/charts/oasf/values-test.yaml and install/charts/oasf/values-test-versions.yaml so that local development versions are displayed correctly during project development.
Backporting Server Changes to Earlier Versions
Checkout the relevant release branch.
Create a new branch from it and add or cherry-pick the necessary server changes.
Bump the server patch version in server/mix.exs.
Open a pull request for review.
Once merged, tag and push a new patch version (e.g., for branch 0.6.0, tags would be 0.6.1, 0.6.2, etc.).
API Version Bumping
The API version in server/lib/schema_web/router.ex only needs to be bumped when the API endpoints themselves are changed.
Releasing a New Chart Version
Use tags with the prefix helm/ followed by the version number, e.g., helm/vX.X.X.
Please follow this process to maintain consistency and ensure smooth releases across all OASF versions.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi team,
I'd like to clarify and document our release process for the OASF project to ensure everyone is aligned.
Release Branches and Versioning
Release Steps for a New Schema Version
v
prefix (e.g.,0.6.0
) to avoid collision with tag names.schema/version.json
to the new version. Also bump the server version to the same version number inserver/mix.exs
.v0.6.0
) and push it so the CI pipeline can create the packages.Tasks After a Schema Release
schema/version.json
is bumped to the upcoming schema version with the-dev
suffix, for example,0.7.0-dev
.install/charts/oasf/values-test.yaml
andinstall/charts/oasf/values-test-versions.yaml
so that local development versions are displayed correctly during project development.Backporting Server Changes to Earlier Versions
server/mix.exs
.0.6.0
, tags would be0.6.1
,0.6.2
, etc.).API Version Bumping
server/lib/schema_web/router.ex
only needs to be bumped when the API endpoints themselves are changed.Releasing a New Chart Version
helm/
followed by the version number, e.g.,helm/vX.X.X
.Please follow this process to maintain consistency and ensure smooth releases across all OASF versions.
Beta Was this translation helpful? Give feedback.
All reactions