RELEASING.md
main selected.
1.9.0rc2.
(otherwise the workflow will pick up the version from main and just remove the .dev suffix).main).
release/v1.9.x, then enter the pull request number that you want to backport,
then click the "Run workflow" button below that.backport to the generated pull request.CHANGELOG.md.
## Unreleased.release/v1.9.x, and click the "Run workflow" button below that.-core repo, you should also do an equivalent patch release in -contrib repo (even if there's no fix to release), otherwise tests in CI will fail.contrib.yml Workflow BehaviorThe contrib.yml workflow in the core repository references reusable workflows from opentelemetry-python-contrib using the hard-coded main branch.
Because uses: statements cannot receive environment variables and workflows cannot patch or modify other workflows, this reference cannot dynamically follow release branches as we are doing in other workflows.
As a result, when preparing a release branch that contains a different set of instrumentations (e.g., older branches without newly added tox environments), CI may attempt to run tests that do not exist on tox in that branch. In this case:
It is safe to merge the release PR even if the contrib workflow fails for this reason, or
Optionally update the contrib.yml workflow to point to the corresponding release branch before running CI.
release/v1.9.x, and click the "Run workflow" button below that.git tag -d stable
git tag stable
git push --delete origin stable
git push origin tag stable
main branch is always X.Y.0.dev,
where X.Y.0 represents the next minor release.X.Y.0rc2.release/v1.9.x-0.21bx (notice the wildcard x's).
Later on, after the initial release, you can backport PRs to a "long-term" release branch and make patch releases
from it..dev,
e.g. X.Y.0.main branch will be bumped to the next version,
e.g. X.{Y+1}.0.dev.release/v1.9.0rc2-0.21b0 (notice the precise version with no
wildcard x's). "Short-term" release branches do not support backports or patch releases after the initial release.main branch will not be bumped, e.g. it will remain X.Y.0.dev
since the next minor release will still be X.Y.0.main branch is always 0.Yb0.dev,
where 0.Yb0 represents the next minor release.
0.Y.0 to match up with the practice in js and go repos..dev,
e.g. 0.Yb0.main branch will be bumped to the next version,
e.g. 0.{Y+1}b0.dev.When a contribution introduces a new package, in order to mitigate name-squatting incidents, release the current development version of the new package under the opentelemetry user to simply claim the namespace. This should be done shortly after the PR that introduced this package has been merged into main.
If for some reason the action failed, do it manually:
./scripts/build.shtestutil)twine upload --skip-existing --verbose dist/*