Skip to content

Commit b0027da

Browse files
committed
build: update firmware date retrieval
Add a line to retrieve the current date in 'YYYYMMDD' format for firmware tagging. Signed-off-by: Chiho Sin <[email protected]>
1 parent 5ab07b8 commit b0027da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ fi
3535
make -j"${JOBS}" -C mpy-cross
3636
make -C ports/"${CPY_PORT}" fetch-port-submodules
3737

38+
FW_DATE=$(date '+%Y%m%d')
3839
FW_TAG="-${FW_DATE}-$(python3 py/version.py)"
3940
echo "Repository firmware CircuitPython version: ${FW_TAG}"
4041

0 commit comments

Comments
 (0)