Skip to content

Commit

Permalink
Be more robust to failed julia -v commands (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
LilithHafner committed Dec 24, 2022
1 parent c01efec commit fd39a08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "UpdateJulia"
uuid = "770da0de-323d-4d28-9202-0e205c1e0aff"
authors = ["Lilith Orion Hafner <[email protected]> and contributors"]
version = "0.4.0"
version = "0.4.1"

[deps]
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
Expand Down
2 changes: 1 addition & 1 deletion src/UpdateJulia.jl
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ end

## Test ##
function report(commands, v)
successes = filter(c->version_of(c)==v, commands)
successes = filter(c->version_of(c)===v, commands)
@assert !isempty(successes)
printstyled("Success! \`$(join(successes, "\` & \`"))\` now to point to $v\n", color=:green)
end
Expand Down

2 comments on commit fd39a08

@LilithHafner
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/74581

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.4.1 -m "<description of version>" fd39a086cc16d5a8fc52b4e32521bd00c02766c5
git push origin v0.4.1

Please sign in to comment.