Skip to content
Snippets Groups Projects
Commit 7a197c53 authored by Lorenz Meier's avatar Lorenz Meier
Browse files

Travis CI: Re-create historic file names

parent 83f146ae
No related branches found
No related tags found
No related merge requests found
......@@ -108,7 +108,7 @@ after_success:
- if [[ "${TRAVIS_OS_NAME}" = "linux" && "${GCC_VER}" = "4.8" ]]; then
make package_firmware
&& find . -name \*.px4 -exec cp "{}" . \;
&& find . -maxdepth 1 -mindepth 1 -type f -name 'nuttx-*.px4' | sed 's/.\/nuttx-//' | xargs -I{} mv nuttx-{} {}
&& find . -maxdepth 1 -mindepth 1 -type f -name 'nuttx-*.px4' | sed 's/.\/nuttx-//' | sed 's/-default/_default/' | xargs -I{} mv nuttx-{} {}
&& ./CI-Tools/s3cmd-put px4fmu-v1_default.px4 px4fmu-v2_default.px4 px4fmu-v2_lpe.px4 px4fmu-v4_default.px4 px4-stm32f4discovery-default.px4 build_px4fmu-v2_default/parameters.xml build_px4fmu-v2_default/airframes.xml CI-Tools/directory/index.html Firmware/$TRAVIS_BRANCH/
&& ./CI-Tools/s3cmd-put Firmware.zip archives/Firmware/$TRAVIS_BRANCH/$TRAVIS_BUILD_ID/
&& ./CI-Tools/s3cmd-put CI-Tools/directory/index.html archives/Firmware/$TRAVIS_BRANCH/
......
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