Skip to content

Commit b70b72f

Browse files
committed
fix publish
1 parent 6a3c847 commit b70b72f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
- run:
6262
name: Publish Dev
6363
command: |
64-
PUBLISH_MESSAGE=`circleci orb publish packed.yml eddiewebb/<<pipeline.parameters.orbname>>@dev:${PR_NUMBER} --token ${CIRCLECI_API_KEY}`
64+
PUBLISH_MESSAGE=`circleci orb publish packed.yml eddiewebb/<<pipeline.parameters.orbname>>@dev:${PR_NUMBER:-${CIRCLE_BRANCH}} --token ${CIRCLECI_API_KEY}`
6565
ORB_VERSION=$(echo $PUBLISH_MESSAGE | sed -n 's/Orb `\(.*\)` was published.*/\1/p')
6666
echo "export ORB_VERSION=\"${ORB_VERSION}\"" >> $BASH_ENV
6767
echo $ORB_VERSION

0 commit comments

Comments
 (0)