File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -273,11 +273,15 @@ jobs:
273
273
name : Trigger database update via API
274
274
command : |
275
275
export VERSION_FROM_TAG=$([[ ${CIRCLE_TAG} -eq "v" ]] && echo ${CIRCLE_TAG:1:20} || echo ${CIRCLE_TAG})
276
- curl --location --request POST 'https://api-load.lightningdesignsystem.com/reload?token=${DSE_API_LOAD_TOKEN}' \
276
+ export SALESFORCE_VERSION=$(cat package.json | jq -r .slds.id)
277
+ export VERSION_FROM_PACKAGE=$(cat package.json | jq -r .version)
278
+ curl --location --request PATCH 'https://design-systems-api.herokuapp.com/v1/release' \
277
279
--header 'Content-Type: application/json' \
280
+ --header 'Authorization: Bearer ${DSE_API_RELEASE_TOKEN}' \
278
281
--data-raw '{
279
282
"sha": "${CIRCLE_SHA1}",
280
- "version": "${VERSION_FROM_TAG}"
283
+ "version": "${VERSION_FROM_TAG}",
284
+ "salesforce_version": "${SALESFORCE_VERSION}"
281
285
}'
282
286
283
287
# Build static Storybook
You can’t perform that action at this time.
0 commit comments