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.
Run cargo vdev build release-cue to generate a new cue file for the release
Add changelog key to generated cue file
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
Bump the release number in the Cargo.toml to the current 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 vdev build release-cue
to generate a new cue file for the releasechangelog
key to generated cue fileprevious releases for examples).
distribution/install.sh
website/cue/reference/versions.cue
./website/content/en/releases/
andupdating version number
Cargo.toml
to the current version numbercargo 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.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: