Skip to content

Commit

Permalink
[ci] debug
Browse files Browse the repository at this point in the history
  • Loading branch information
avtolstoy committed Oct 23, 2022
1 parent accacb4 commit 5d41ddb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@ jobs:
exit 0
fi
COMBINE_BINARIES=$(head -n 1 <(find $HOME/workspace/release/ -name 'combine_binaries.sh'))
echo "============================================="
cat $HOME/workspace/release/*/ref
echo "============================================="
RELEASE_REF=$(head -n 1 <(cat $HOME/workspace/release/*/ref))
$COMBINE_BINARIES $HOME/workspace/release $RELEASE_REF $HOME
RESULT=$?
Expand Down Expand Up @@ -247,11 +250,16 @@ jobs:
git clone [email protected]:particle-iot/firmware-buildpack-builder.git -b "$BUILDPACK_BUILDER_VERSION"
cd $HOME/device-os
git submodule update --init --recursive
echo "======================================="
echo "branch=$CIRCLE_BRANCH"
echo "tag=$CIRCLE_TAG"
if [ -z "$CIRCLE_TAG" ]; then
export ARTIFACT_TAG=$(echo "$CIRCLE_BRANCH" | tr '[:upper:]' '[:lower:]' | sed 's/[^a-zA-Z0-9]/-/g')-$(git rev-parse --short HEAD)
else
export ARTIFACT_TAG=$CIRCLE_TAG
fi
echo "final=$ARTIFACT_TAG"
echo "======================================="
echo "$ARTIFACT_TAG" > $HOME/device-os/.git/ref
- run:
name: "Run tests / build for platforms"
Expand Down

0 comments on commit 5d41ddb

Please sign in to comment.