We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a3f413 commit d650204Copy full SHA for d650204
1 file changed
.circleci/check-version.sh
@@ -3,7 +3,7 @@
3
# Checks if your orb has a new version number or if it's a duplicate of the latest.
4
ORB_REF=$1
5
6
-ORB_DATA=$(circleci orb info "$ORB_REF" 2>/dev/null || circleci orb create "$ORB_REF" --token "$CIRCLECI_DEV_API_TOKEN")
+ORB_DATA=$(circleci orb info "$ORB_REF" 2>/dev/null || circleci orb create "$ORB_REF" --no-prompt --token "$CIRCLECI_DEV_API_TOKEN")
7
LATEST=$( echo "$ORB_DATA" | grep -E 'Latest: .*@([0-9.]+)' | cut -d @ -f 2 )
8
VERSION=$(cat "src/$ORB_REF/version.txt")
9
0 commit comments