File tree 1 file changed +14
-0
lines changed
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,18 @@ if [ -z "`which $POD`" ]; then
52
52
fi
53
53
echo " > Cocoapods is installed"
54
54
55
+ echo " > Is this a reasonable tag?"
56
+
57
+ echo $VERSION_TAG | grep -q " ^vv"
58
+ if [ $? -eq 0 ]; then
59
+ die " This tag ($VERSION ) is an incorrect format. You should remove the 'v' prefix."
60
+ fi
61
+
62
+ echo $VERSION_TAG | grep -q -E " ^v\d+\.\d+\.\d+(-\w+(\.\d)?)?\$ "
63
+ if [ $? -ne 0 ]; then
64
+ die " This tag ($VERSION ) is an incorrect format. It should be in 'v{MAJOR}.{MINOR}.{PATCH}(-{PRERELEASE_NAME}.{PRERELEASE_VERSION})' form."
65
+ fi
66
+
55
67
echo " > Is this version ($VERSION ) unique?"
56
68
git describe --exact-match " $VERSION_TAG " 2>&1 > /dev/null
57
69
if [ $? -eq 0 ]; then
@@ -162,3 +174,5 @@ echo " - Paste the contents of $RELEASE_NOTES into the release notes. Tweak fo
162
174
echo " - Attach ${CARTHAGE_FRAMEWORK_NAME} .framework.zip to it."
163
175
echo " - Announce!"
164
176
177
+ rm Nimble.podspec.backup
178
+
You can’t perform that action at this time.
0 commit comments