Skip to content

Commit

Permalink
Pio env now on info hash
Browse files Browse the repository at this point in the history
  • Loading branch information
oscgonfer committed Nov 8, 2024
1 parent 7c55fdc commit a4d2ac3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions sam/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -131,31 +131,31 @@ lib_deps =

[env:sck2]
build_flags =
!sh ../tools/git-rev.sh
!sh ../tools/git-rev.sh -e sck2
-D SCK2

[env:sck21_air]
build_flags =
!sh ../tools/git-rev.sh
!sh ../tools/git-rev.sh -e sck21_air
-D SCK21_AIR

[env:sck22_air]
build_flags =
!sh ../tools/git-rev.sh
!sh ../tools/git-rev.sh -e sck22_air
-D SCK22_AIR

[env:sck23_air]
build_flags =
!sh ../tools/git-rev.sh
!sh ../tools/git-rev.sh -e sck23_air
-D SCK23_AIR

[env:sck_water]
build_flags =
!sh ../tools/git-rev.sh
!sh ../tools/git-rev.sh -e sck_water
-D SCK_WATER

[env:sck23_air_test]
build_flags =
!sh ../tools/git-rev.sh
!sh ../tools/git-rev.sh -e sck23_air_test
-D SCK23_AIR
-D TESTING
2 changes: 1 addition & 1 deletion sam/src/SckBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ class SckBase
// TODO At some point this will need to change.
const String hardwareVer = "2.1";
#endif
const String SAMversion = SAMverNum + "-" + String(__GIT_HASH__) + "-" + String(__GIT_BRANCH__); // mayor.minor.build-gitcommit-branch
const String SAMversion = SAMverNum + "-" + String(__GIT_HASH__) + "-" + String(__GIT_BRANCH__) + "-" + String(__PIO_ENV__); // mayor.minor.build-gitcommit-branch-platformioenv
const String SAMbuildDate = String(__ISO_DATE__);
String ESPversion = "not synced";
String ESPbuildDate = "not synced";
Expand Down
2 changes: 1 addition & 1 deletion tools
Submodule tools updated 2 files
+25 −8 git-rev.py
+9 −0 git-rev.sh

0 comments on commit a4d2ac3

Please sign in to comment.