File tree Expand file tree Collapse file tree 2 files changed +19
-3
lines changed Expand file tree Collapse file tree 2 files changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,24 @@ This section is for developers.
33
44Before a release make sure to:
55
6- * change [ version number] ( https://semver.org/ ) in ` pyproject.toml ` in the ` dev ` branch.
7- * Merge the ` dev ` branch into the ` main ` branch. ** Note: the ` dev ` branch should only be merged into ` main ` when it is ready for a new release.**
6+ * Ensure all tests are passing on the ` dev ` branch.
7+ * Change [ version number] ( https://semver.org/ ) in ` pyproject.toml ` in the ` dev ` branch.
8+ * Using your local command line from the cloned repository directory, ensure your local main and dev branch are up to date.
9+ ```
10+ git fetch <upstream remote name>
11+ git checkout dev
12+ git pull <upstream remote name> dev
13+ git checkout main
14+ git pull <upstream remote name> main
15+ ```
16+ ** Note: replace <upstream remote name > with the name of your upstream remote.
17+ * Merge the ` dev ` branch into the ` main ` branch using the command line:
18+ ```
19+ git checkout main
20+ git merge dev --ff-only
21+ git push <upstream remote name> main
22+ ```
23+ ** Note: the ` dev ` branch should only be merged into ` main ` when it is ready for a new release.**
824
925## GitHub
1026In the GitHub repository, click on * Releases* , click on * Draft new release* .
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " wecopttool"
7- version = " 3.1.1 "
7+ version = " 3.2.0 "
88description = " WEC Design Optimization Toolbox"
99readme = " README.md"
1010authors = [
You can’t perform that action at this time.
0 commit comments