Skip to content

Commit

Permalink
nuclear: update livecheck
Browse files Browse the repository at this point in the history
The existing `livecheck` block regex could quietly surface unstable
versions that appear to be stable (e.g., `1.2.3` from something like
`v1.2.3-beta1`). This updates the regex to use the standard regex
for Git tags like `1.2.3`/`v1.2.3`, which uses `^`/`$` to restrict
the start/end of the tag.
  • Loading branch information
samford committed Aug 19, 2024
1 parent f0ce0ed commit 16aa98d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Casks/n/nuclear.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

livecheck do
url :url
regex(/v?(\d+(?:\.\d+)+)/i)
regex(/^v?(\d+(?:\.\d+)+)$/i)
end

app "nuclear.app"
Expand Down

0 comments on commit 16aa98d

Please sign in to comment.