We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1ccee5 commit 16faa98Copy full SHA for 16faa98
publish-on-orbs-registry/entrypoint.sh
@@ -1,4 +1,8 @@
1
#!/bin/sh -l
2
3
-echo "Trying to publish orb with version ${GITHUB_REF}"
4
-circleci orb publish source.yml "nebulab/feature-branch-preview@${GITHUB_REF}" --token $CIRCLECI_TOKEN
+# $GITHUB_REF is something like "refs/tags/1.6.2" and we need to take
+# only the last part of it.
5
+version=${GITHUB_REF/refs\/tags\//}
6
+
7
+echo "Trying to publish orb with version ${version}"
8
+circleci orb publish source.yml "nebulab/feature-branch-preview@${version}" --token $CIRCLECI_TOKEN
0 commit comments