Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
also make refs prettier
Browse files Browse the repository at this point in the history
manveru committed Mar 19, 2024
1 parent 803ba03 commit 6bf3b20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages.cr
Original file line number Diff line number Diff line change
@@ -150,7 +150,7 @@ class CAPkgs
pattern = /refs\/tags\/#{Regex.escape(tag_name)}/
matching = tags_result.stdout.lines.select { |line| line =~ pattern }
rev, ref = matching.first.strip.split
[tag_name, rev]
[tag_name, rev.sub(%r(\^\{\}$), "")]
end

Log.info { "releases count: #{refs_tags.size}" }

0 comments on commit 6bf3b20

Please sign in to comment.