File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
cookiecutter/{{cookiecutter.project_name}} Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ pre-release: lint test changelog requirements
127127 @echo " RELEASE_TAG: $( RELEASE_TAG) "
128128 @echo " RELEASE_NAME: $( RELEASE_NAME) "
129129 check-manifest
130- @if git tag -l | grep ${ RELEASE_TAG} > /dev/null; then \
130+ @if git tag -l | grep -E ' ^$( RELEASE_TAG)$$ ' > /dev/null; then \
131131 echo "Version tag '${RELEASE_TAG}' already exists!"; \
132132 false; \
133133 fi
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ pre-release: lint test changelog requirements
125125 @echo " RELEASE_TAG: $( RELEASE_TAG) "
126126 @echo " RELEASE_NAME: $( RELEASE_NAME) "
127127 check-manifest
128- @if git tag -l | grep ${ RELEASE_TAG} > /dev/null; then \
128+ @if git tag -l | grep -E ' ^$( RELEASE_TAG)$$ ' > /dev/null; then \
129129 echo "Version tag '${RELEASE_TAG}' already exists!"; \
130130 false; \
131131 fi
You can’t perform that action at this time.
0 commit comments