File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,9 +16,16 @@ Arduino library for the Open Acidification pH Stat Controller
1616
1717* Use [ ` extras/scripts/install.sh ` ] ( extras/scripts/install.sh ) to do the initial install.
1818* After that use [ ` extras/scripts/testAndBuild.sh ` ] ( extras/scripts/testAndBuild.sh ) to test.
19- * See [ this video] ( https://youtu.be/ZYNnVE4LnCg ) for an install and test example.
20- * Push a tag with 'v' in order to build a release
21- * Use Ansible to install on [ oap.cs.wallawalla.edu] ( oap.cs.wallawalla.edu ) .
19+ * See [ this video] ( https://youtu.be/ZYNnVE4LnCg ) for an install and test example.
20+ * Release Process
21+ * Update the version files to a new version (e.g., v25.4.1)
22+ * Create a _ local_ tag on the _ previous_ commit
23+ * Commit _ only_ the version files to avoid edits to the version files (see ` extras/scripts/pre-commit ` )
24+ * Push and merge the commit
25+ * Fetch and move the local main to upstream main
26+ * Move the tag to the merged commit with the version file changes
27+ * Push the tag to origin and upstream
28+ * Use Ansible to install on [ oap.cs.wallawalla.edu] ( oap.cs.wallawalla.edu ) .
2229* To build the GUI simulator, see [ GUI/build.sh] ( GUI/build.sh ) .
2330* Use the [ ` extras/scripts/tasks.json ` ] ( extras/scripts/tasks.json ) file to easily start the development servers in Visual Studio Code.
2431 * Copy the JSON file to your [ ` .vscode ` ] ( .vscode ) directory
Original file line number Diff line number Diff line change 1- const String gitVersion = 'v25.4.1 ' ;
1+ const String gitVersion = 'v25.4.1 + ' ;
Original file line number Diff line number Diff line change 1+ # Create a tag before committing and then move the tag to the commit (yes, a bit of a hack!)
12version=`git describe --tags`
23version="$version "
4+ # if the only change is in Version.h or version.dart, don't add the + to the version
35changes=`git diff --name-only --cached | grep -v "Version.h" | grep -v "version.dart" | wc -l | xargs`
46if [[ "$changes" == "0" ]]
57then
Original file line number Diff line number Diff line change 1- #define VERSION "v25.4.1 "
1+ #define VERSION "v25.4.1 + "
You can’t perform that action at this time.
0 commit comments