File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 22This document explains how to publish all OT modules at version x.y.z. Ensure that you’re following semver when choosing a version number.
33
44Release Process:
5+ * [ Checkout a clean repo] ( #checkout-a-clean-repo )
56* [ Create a new branch] ( #create-a-new-branch )
67* [ Open a Pull Request] ( #open-a-pull-request )
78* [ Create a Release] ( #Create-a-Release )
@@ -10,6 +11,8 @@ Release Process:
1011* [ Check PyPI] ( #Check-PyPI )
1112* [ Troubleshooting] ( #troubleshooting )
1213
14+ ## Checkout a clean repo
15+ - To avoid pushing untracked changes, check out the repo in a new dir
1316
1417## Create a new branch
1518The following script does the following:
@@ -74,7 +77,6 @@ git commit -m
7477
7578If for some reason the action failed, do it manually:
7679
77- - To avoid pushing untracked changes, check out the repo in a new dir
7880- Switch to the release branch (important so we don't publish packages with "dev" versions)
7981- Build distributions with ` ./scripts/build.sh `
8082- Delete distributions we don't want to push (e.g. ` testutil ` )
Original file line number Diff line number Diff line change 1- #! /bin/bash -x
1+ #! /bin/bash
22#
33# This script:
44# 1. parses the version number from the branch name
@@ -73,6 +73,7 @@ function update_changelog() {
7373}
7474
7575# create the release branch
76+ git fetch origin master
7677git checkout master
7778git reset --hard origin/master
7879git checkout -b release/${VERSION}
You can’t perform that action at this time.
0 commit comments