Skip to content

Commit 794869a

Browse files
fix(ci): Replace versioning format for design-systems-api parameters (#5085)
* fix(ci): Replace versioning format for design-systems-api parameters * fix(ci): removing unused exports from step: trigger database update via api Co-authored-by: DouG Molidor <[email protected]>
1 parent 25a467e commit 794869a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.circleci/config.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -363,14 +363,12 @@ jobs:
363363
- run:
364364
name: Trigger database update via API
365365
command: |
366-
export VERSION_FROM_TAG=$([[ ${CIRCLE_TAG} =~ ^v.* ]] && echo ${CIRCLE_TAG:1:20} || echo ${CIRCLE_TAG})
367366
export SALESFORCE_VERSION=$(cat package.json | jq -r .slds.id)
368-
export VERSION_FROM_PACKAGE=$(cat package.json | jq -r .version)
369367
curl --location --request PATCH 'https://api.lightningdesignsystem.com/v1/release' \
370368
--header 'Content-Type: application/json' \
371369
--header 'Authorization: Bearer '"$DSE_API_RELEASE_TOKEN"'' \
372370
--data-raw '{
373-
"version":"'"$VERSION_FROM_TAG"'",
371+
"version":"'"$CIRCLE_TAG"'",
374372
"salesforce_version": "'"$SALESFORCE_VERSION"'"
375373
}'
376374

0 commit comments

Comments
 (0)