Skip to content

Commit

Permalink
Merge pull request #4 from surgeventures/ci-regex
Browse files Browse the repository at this point in the history
ci regexp
  • Loading branch information
Argonus authored Dec 3, 2024
2 parents 9475f03 + ae540a8 commit a593f81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ jobs:
echo ""
git show HEAD~1:mix.exs > mix.old.exs
diff mix.old.exs mix.exs > diff.txt || true
old_version=$(grep -oP 'version: "\K[^"]+' mix.old.exs)
new_version=$(grep -oP 'version: "\K[^"]+' mix.exs)
old_version=$(grep -oP 'version "\K[^"]+' mix.old.exs)
new_version=$(grep -oP 'version "\K[^"]+' mix.exs)
echo "Old Version: $old_version | New Version: $new_version"
if [ "$new_version" != "$old_version" ]; then
if [ "$new_version" \> "$old_version" ]; then
Expand Down

0 comments on commit a593f81

Please sign in to comment.