mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +08:00
travis s3 move archive location and store Firmware.zip instead of individual images
This commit is contained in:
+1
-1
@@ -58,7 +58,7 @@ after_script:
|
|||||||
# upload newest build for this branch with s3 index
|
# upload newest build for this branch with s3 index
|
||||||
- ./CI-Tools/s3cmd-put Images/px4*.px4 CI-Tools/directory/index.html $TRAVIS_BRANCH/
|
- ./CI-Tools/s3cmd-put Images/px4*.px4 CI-Tools/directory/index.html $TRAVIS_BRANCH/
|
||||||
# archive newest build by date with s3 index
|
# archive newest build by date with s3 index
|
||||||
- ./CI-Tools/s3cmd-put Images/px4*.px4 CI-Tools/directory/index.html $TRAVIS_BRANCH/archives/`date "+%Y-%m-%d"`-$TRAVIS_BUILD_ID/
|
- ./CI-Tools/s3cmd-put Firmware.zip CI-Tools/directory/index.html archives/$TRAVIS_BRANCH/`date "+%Y-%m-%d"`-$TRAVIS_BUILD_ID/
|
||||||
# upload top level index.html and timestamp.html
|
# upload top level index.html and timestamp.html
|
||||||
- ./CI-Tools/s3cmd-put CI-Tools/index.html timestamp.html /
|
- ./CI-Tools/s3cmd-put CI-Tools/index.html timestamp.html /
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user