Skip to content

Commit fff5fc5

Browse files
committed
fix(circle): Improve no-tags tests to avoid false positives with 0.x.x series
1 parent dbb24ba commit fff5fc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
command: |
4848
# Get version, update files.
4949
THISVERSION=$( python3 get_version.py )
50-
if [[ ${THISVERSION:0:1} == "0" ]] ; then
50+
if [[ ${THISVERSION:0:2} == "0+" ]] ; then
5151
echo "WARNING: latest git tag could not be found"
5252
echo "Please, make sure you fetch all tags from upstream with"
5353
echo "the command ``git fetch --tags --verbose`` and push"

0 commit comments

Comments
 (0)