From af2d46c30dc4818a4d169069cd5ee7e4555b0e8a Mon Sep 17 00:00:00 2001 From: Will Tatam Date: Sat, 16 Aug 2025 12:22:42 +0100 Subject: [PATCH] Set VERSION --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6f2c373a..f0d85370 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,7 +40,10 @@ jobs: with: node-version-file: '.nvmrc' cache: 'npm' - - run: npm ci + - run: | + npm ci + VERSION=`date +%y%m%d0` + sed -i -r -e "s/define VERSION .+/define VERSION $VERSION/" wled00/wled.h - name: Cache PlatformIO uses: actions/cache@v4 with: