Skip to content

Commit 578b909

Browse files
committed
ci: use sha of the PR to upload to cloud
Instead of using the build version, use the sha so we can rebuild failed items and still generate the full SDK. Fixes #49 Signed-off-by: Anas Nashif <[email protected]>
1 parent 13c5a57 commit 578b909

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.shippable.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@ build:
3939
sudo -E sh -c 'echo "IS_PRERELEASE=${IS_PRERELEASE}" >> $JOB_STATE/sdk.env';
4040
sudo -E sh -c 'echo "GIT_TAG_NAME=${GIT_TAG_NAME}" >> $JOB_STATE/sdk.env';
4141
sudo -E sh -c 'echo "PULL_REQUEST=${PULL_REQUEST}" >> $JOB_STATE/sdk.env';
42+
sudo -E sh -c 'echo "SDKNG_CIREPO_VERSIONNAME=${SDKNG_CIREPO_VERSIONNAME}" >> $JOB_STATE/sdk.env';
4243
cat $JOB_STATE/sdk.env;
43-
export S3_PATH="s3://incoming.zephyrproject.org/sdk-ng/${SDKNG_CIREPO_VERSIONNUMBER}";
44+
export S3_PATH="s3://incoming.zephyrproject.org/sdk-ng/${SDKNG_CIREPO_VERSIONNAME}";
4445
if [ "${TARGET}" == 'tools' ]; then
4546
echo "uploading zephyr-sdk-x86_64-hosttools-standalone-0.9.sh to ${S3_PATH}/";
4647
aws s3 cp zephyr-sdk-x86_64-hosttools-standalone-0.9.sh ${S3_PATH}/;

0 commit comments

Comments
 (0)