Skip to content

Commit 5ab07b8

Browse files
committed
build: update firmware tag format
Change the firmware tag format to include the firmware date in the output. This improves clarity in versioning. Signed-off-by: Chiho Sin <[email protected]>
1 parent 46c1a94 commit 5ab07b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

entrypoint.sh

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

38-
FW_TAG=$(python3 py/version.py)
38+
FW_TAG="-${FW_DATE}-$(python3 py/version.py)"
3939
echo "Repository firmware CircuitPython version: ${FW_TAG}"
4040

4141

@@ -50,7 +50,7 @@ function copy_artefacts {
5050
local build_dir=$4
5151
shift 4
5252
for ext in "$@"; do
53-
dest=${dest_dir}/${descr}-${fw_tag}.${ext}
53+
dest=${dest_dir}/${descr}${fw_tag}.${ext}
5454
if [[ -r ${build_dir}/firmware.${ext} ]]; then
5555
mv "${build_dir}"/firmware."${ext}" "${dest}"
5656
elif [[ -r ${build_dir}/circuitpython.${ext} ]]; then

0 commit comments

Comments
 (0)