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
Create a new release preparation branch from the current release branch
git fetch && git checkout v0.<current minor version> && git checkout -b prepare-v0.<new version number>
Cherry-pick in all commits to be released from the associated release milestone
If any merge conflicts occur, attempt to solve them and if needed enlist the aid of those familiar with the conflicting commits.
Bump the release number in the Cargo.toml to the current version number
Run cargo vdev build release-cue to generate a new cue file for the release
Add description key to the generated cue file with a description of the release (see
previous releases for examples).
Update version number in distribution/install.sh
Add new version to website/cue/reference/versions.cue
Create new release md file by copying an existing one in ./website/content/en/releases/ and
updating version number
Run cargo check to regenerate Cargo.lock file
Commit these changes
Open PR against the release branch (v0.<new version number>) for review
PR approval
On the day of release:
Ensure release date in cue matches current date.
Rebase the release preparation branch on the release branch
Squash the release preparation commits (but not the cherry-picked commits!) to a single
commit. This makes it easier to cherry-pick to master after the release.
git checkout prepare-v0.<new version number> && git rebase -i v0.<current minor version>
Merge release preparation branch into the release branch
git co v0.<current minor version> && git merge --ff-only prepare-v0.<current minor version>.<patch>
Tag new release
git tag v0.<minor>.<patch> -a -m v0.<minor>.<patch>
Before the release:
git fetch && git checkout v0.<current minor version> && git checkout -b prepare-v0.<new version number>
Cargo.toml
to the current version numbercargo vdev build release-cue
to generate a new cue file for the releaseprevious releases for examples).
distribution/install.sh
website/cue/reference/versions.cue
./website/content/en/releases/
andupdating version number
cargo check
to regenerateCargo.lock
filev0.<new version number>
) for reviewOn the day of release:
commit. This makes it easier to cherry-pick to master after the release.
git checkout prepare-v0.<new version number> && git rebase -i v0.<current minor version>
git co v0.<current minor version> && git merge --ff-only prepare-v0.<current minor version>.<patch>
git tag v0.<minor>.<patch> -a -m v0.<minor>.<patch>
git push origin v0.<minor>.<patch>
vector-release
usage.trigger-package-release-pipeline-prod-stable
job.git checkout v0.<current minor version> && git push
cargo vdev build manifests
and open a PR with changesmaster
, tomaster
website
branch to theHEAD
of the release branch to update https://vector.devgit checkout website && git reset --hard origin/v0.<current minor version>.<patch> && git push
The text was updated successfully, but these errors were encountered: