Skip to content

Commit

Permalink
fix: fixed regex
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsonbrsilva committed May 4, 2024
1 parent fa2573c commit b89e19c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actions/latest-version-obtaining/latest-version-obtaining.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ fetch_tags_from_remote() {
}

get_last_origin_branch_version() {
git tag --sort=committerdate --merged=$(git rev-parse "origin/${1}") | grep -v '^v[0-9]+$' | tail --lines 1
git tag --sort=committerdate --merged=$(git rev-parse "origin/${1}") | grep -v '^v[0-9]\+$' | tail --lines 1
}

get_last_repository_version() {
git tag --sort=committerdate | grep -v '^v[0-9]+$' | tail --lines 1
git tag --sort=committerdate | grep -v '^v[0-9]\+$' | tail --lines 1
}

is_version_published() {
Expand Down

0 comments on commit b89e19c

Please sign in to comment.