-
Notifications
You must be signed in to change notification settings - Fork 8
Release Process
Joshua Boverhof edited this page Jul 16, 2025
·
1 revision
Click to expand full command sequence
# Set your release version
VERSION="3.3.0"
# Step 1: Checkout the base branch (usually 'main')
git checkout main
git pull origin main
# Step 2: Create and push the release branch
git checkout -b release/$VERSION
git push -u origin release/$VERSION
# Step 3: Tag the first release candidate
git tag -a $VERSION-rc1 -m "Release candidate 1 for $VERSION"
git push origin $VERSION-rc1
# Later... once RC is approved
# Step 4: Finalize the release
git checkout release/$VERSION
git pull origin release/$VERSION
git checkout main
git pull origin main
git merge --no-ff release/$VERSION -m "Merge release $VERSION"
git tag -a $VERSION -m "Final release $VERSION"
git push origin main
git push origin $VERSION
# Step 5 (Optional): Clean up the release branch
git branch -d release/$VERSION
git push origin --delete release/$VERSION