Skip to content

Commit

Permalink
ci: fix grep release version from semantic
Browse files Browse the repository at this point in the history
  • Loading branch information
karlderkaefer committed Aug 31, 2021
1 parent 270a6e4 commit 5f057ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
echo "failed to run semantic release"
exit ${NPX_STATUS}
fi
export APP_VERSION="$(npx semantic-release --dry-run | grep 'The next release version is' | sed -E 's/.* ([[:digit:].]+)$/\1/')"
export APP_VERSION="$(npx semantic-release --dry-run | grep -i 'The next release version is' | sed -E 's/.* ([[:digit:].]+)$/\1/')"
if [ -z "${APP_VERSION}" ]; then
echo "no new version detected"
else
Expand Down

0 comments on commit 5f057ab

Please sign in to comment.