ci: fix tag job with new release workflow
A single component version is the development version, everything with more components is not. Thus, we only need to check for a single dot.
This commit is contained in:
@@ -57,7 +57,7 @@ jobs:
|
||||
run: |
|
||||
cabal_version="$(grep -oP '^version:\s*\K.*' postgrest.cabal)"
|
||||
|
||||
if [[ "$cabal_version" == *.*.*.* ]]; then
|
||||
if [[ "$cabal_version" == *.* ]]; then
|
||||
git fetch --tags
|
||||
|
||||
if [ -z "$(git tag --list "v$cabal_version")" ]; then
|
||||
|
||||
Reference in New Issue
Block a user