Skip to content

Commit

Permalink
Fix publishing new versions
Browse files Browse the repository at this point in the history
  • Loading branch information
radeklat committed Nov 7, 2021
1 parent a5fe86b commit 1333cc4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,7 @@ jobs: # A basic unit of work in a run
command: |
git fetch --tags origin
VERSION=$(poetry version -s)
git tag | grep -q $VERSION
if [[ $? -ne 0 ]]; then
if [[ $(git tag | grep -q $VERSION; echo $?) -ne 0 ]]; then
gh release create $VERSION -F CHANGELOG.md
else
echo "Tag '$VERSION' already exists. Skipping."
Expand Down

0 comments on commit 1333cc4

Please sign in to comment.