Compare commits
1 Commits
v1.1.4
...
6a798f8a89
| Author | SHA1 | Date | |
|---|---|---|---|
| 6a798f8a89 |
@@ -18,7 +18,10 @@ jobs:
|
||||
run: pip install platformio
|
||||
|
||||
- name: Build firmware
|
||||
run: pio run
|
||||
run: |
|
||||
VERSION="${GITHUB_REF_NAME#v}"
|
||||
echo "Building version $VERSION"
|
||||
PLATFORMIO_BUILD_FLAGS="-D CI_VERSION=\"$VERSION\"" pio run
|
||||
|
||||
- name: Create Release and Upload Firmware
|
||||
uses: softprops/action-gh-release@v2
|
||||
|
||||
13
src/config.h
13
src/config.h
@@ -2,11 +2,14 @@
|
||||
#include <Arduino.h>
|
||||
|
||||
namespace Config {
|
||||
// Updated by Karl on every version release (see
|
||||
// CLAUDE.md workflow "Standard Workflow: Push & Release") - shown
|
||||
// in the info screen (Menu > System > Info) and must match the
|
||||
// corresponding Git tag.
|
||||
constexpr const char* APP_VERSION = "3.6.3";
|
||||
// Updated by CI on every version release (see
|
||||
// .gitea/workflows/release.yml) - shown in the info screen
|
||||
// (Menu > System > Info). Locally built firmware shows "custom".
|
||||
#ifdef CI_VERSION
|
||||
constexpr const char* APP_VERSION = CI_VERSION;
|
||||
#else
|
||||
constexpr const char* APP_VERSION = "custom";
|
||||
#endif
|
||||
|
||||
// Display brightness (Menu > System > Brightness), in percent.
|
||||
// MIN intentionally not 0 - a completely dark display could otherwise
|
||||
|
||||
Reference in New Issue
Block a user