Skip to content

Commit

Permalink
ci: dsl-ac68u: uploads to github DSL-AC68U images without DSL modem f…
Browse files Browse the repository at this point in the history
…irmware
  • Loading branch information
zaloisio committed Aug 16, 2021
1 parent 0efd196 commit febb741
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,17 @@ jobs:
ls ${PROJECT_DIR}/release/${RELEASE_DIR}/image/
- run:
name: Prepare workspace
shell: /bin/bash
command: |
export IMAGE_PATH=${PROJECT_DIR}/release/${RELEASE_DIR}/image/
mkdir -p workspace/release/
if [[ ${MODEL} == "dsl-ac68u" ]]; then
cp ${PROJECT_DIR}/release/${RELEASE_DIR}/image/DSL*DSL*.trx workspace/release/
cp ${PROJECT_DIR}/release/${RELEASE_DIR}/image/DSL*DSL*.md5 workspace/release/ || :
mv "${IMAGE_PATH}/DSL-AC68U_${CIRCLE_TAG}.trx" "${IMAGE_PATH}/DSL-AC68U_${CIRCLE_TAG}_NO-DSL-FIRMWARE.trx"
cp ${IMAGE_PATH}/*.trx workspace/release/
cp ${IMAGE_PATH}/DSL*DSL*.md5 workspace/release/ || :
elif [[ ${MODEL} == "dsl-ax82u" ]]; then
cp ${PROJECT_DIR}/release/${RELEASE_DIR}/image/*_cferom_pureubi.w workspace/release
cp ${PROJECT_DIR}/release/${RELEASE_DIR}/image/*_cferom_pureubi.md5 workspace/release || :
cp ${IMAGE_PATH}/*_cferom_pureubi.w workspace/release
cp ${IMAGE_PATH}/*_cferom_pureubi.md5 workspace/release || :
fi
cp /tmp/build.log workspace/release/${MODEL}-build.log
if [ -z "${CIRCLE_TAG}" ]; then
Expand Down

0 comments on commit febb741

Please sign in to comment.