aboutsummaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorSelene ToyKeeper2023-12-05 16:49:24 -0700
committerSelene ToyKeeper2023-12-05 16:49:24 -0700
commit50ae5684534ec9333a648794d4f371b882e53075 (patch)
treee666fea7d540632dc99643468184b519e647c12d /make
parentd3aa: made it easy to switch between vddio2 and external voltage divider (diff)
parentmoved version string calculation to bin/version-string.sh (diff)
downloadanduril-50ae5684534ec9333a648794d4f371b882e53075.tar.gz
anduril-50ae5684534ec9333a648794d4f371b882e53075.tar.bz2
anduril-50ae5684534ec9333a648794d4f371b882e53075.zip
Merge branch 'trunk' into emisar-d3aa
* trunk: moved version string calculation to bin/version-string.sh forgot one item in the ChangeLog ChangeLog: added 2023-12-03 release notes, converted @modelname to &modelname docs: expanded / reorganized info on Version Check formats updated MODELS, bin/models.py, and hw/BRANDS... fw3x: document how it ships with the wrong fuse values, and how to fix it github CI: fetch history too, to allow detection of version tags build-all: handle the case where "git describe" can't get any tags run CI on all branches, not just on trunk fetch tags on CI checkout, so 'git describe' can work added docs/battery-rainbow.png from old repo, since it's still relevant added bin/make-release.sh to generate a .zip file ready for release build-all.sh: re-indented, started organizing code into functions changed version number to use the latest release tag instead of build date
Diffstat (limited to 'make')
-rwxr-xr-xmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/make b/make
index c50219d..ca3a84a 100755
--- a/make
+++ b/make
@@ -27,6 +27,7 @@ Usage: ./make TASK
docs Convert all .md files to .html
models Generate the MODELS file
release Zip up all .hex files to prep for publishing a release
+ version Show the current version string
todo Show tasks noted in source code files
... or TASK can be the partial name of a build target.
@@ -73,7 +74,10 @@ function main() {
cat MODELS
;;
release)
- echo "Not implemented yet."
+ ./bin/make-release.sh "$@"
+ ;;
+ version)
+ ./bin/version-string.sh "$@"
;;
todo)
grep -E 'TODO:|FIXME:' -- **/*.[ch] **/*.md