Skip to content

Commit 2503699

Browse files
committed
ci(API): Attach workspace and checkout for API population step
1 parent bee22fa commit 2503699

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.circleci/config.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,12 +267,16 @@ jobs:
267267
resource_class: small
268268

269269
steps:
270+
- checkout
271+
- attach_workspace:
272+
at: workspace
273+
270274
- run:
271275
name: Trigger database update via API
272276
command: |
273277
export VERSION_FROM_TAG=$([[ ${CIRCLE_TAG} =~ ^v.* ]] && echo ${CIRCLE_TAG:1:20} || echo ${CIRCLE_TAG})
274-
export SALESFORCE_VERSION=$(cat package.json | jq -r .slds.id)
275-
export VERSION_FROM_PACKAGE=$(cat package.json | jq -r .version)
278+
export SALESFORCE_VERSION=$(cat workspace/package.json | jq -r .slds.id)
279+
export VERSION_FROM_PACKAGE=$(cat workspace/package.json | jq -r .version)
276280
curl --location --request PATCH 'https://api.lightningdesignsystem.com/v1/release' \
277281
--header 'Content-Type: application/json' \
278282
--header 'Authorization: Bearer ${DSE_API_RELEASE_TOKEN}' \

0 commit comments

Comments
 (0)