Skip to content
Snippets Groups Projects
Commit 8951953e authored by Cyril Danilevski's avatar Cyril Danilevski
Browse files

Keep ino reference in artifacts

arduino-cli upload search for files with *ino* in their names
parent 455f2524
No related branches found
No related tags found
No related merge requests found
Pipeline #131889 passed
...@@ -36,7 +36,7 @@ build: ...@@ -36,7 +36,7 @@ build:
# Compile artifact # Compile artifact
- arduino-cli compile --fqbn esp32:esp32:esp32wroverkit icbm.ino --output-dir icbm-$ICBM_GIT_VERSION --build-property build.extra_flags="-DICBM_GIT_VERSION=\"$ICBM_GIT_VERSION\" -DICBM_GIT_TIMESTAMP=\"$CI_COMMIT_TIMESTAMP\"" - arduino-cli compile --fqbn esp32:esp32:esp32wroverkit icbm.ino --output-dir icbm-$ICBM_GIT_VERSION --build-property build.extra_flags="-DICBM_GIT_VERSION=\"$ICBM_GIT_VERSION\" -DICBM_GIT_TIMESTAMP=\"$CI_COMMIT_TIMESTAMP\""
- rename "s/ino/$ICBM_GIT_VERSION/" icbm-$ICBM_GIT_VERSION/* - rename "s/ino/$ICBM_GIT_VERSION.ino/" icbm-$ICBM_GIT_VERSION/*
- zip -r icbm-$ICBM_GIT_VERSION.zip icbm-$ICBM_GIT_VERSION - zip -r icbm-$ICBM_GIT_VERSION.zip icbm-$ICBM_GIT_VERSION
artifacts: artifacts:
when: always when: always
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment