Skip to content

Commit

Permalink
add update message functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
Datseris committed May 28, 2019
1 parent 756d413 commit f3d0cf5
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/DrWatson.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,21 @@ function __init__()
end
end

# Update messages
display_update = true
update_name = "update_v0.5.0"
if display_update
if !isfile(joinpath(@__DIR__, update_name))
printstyled(stdout,
"""
\nUpdate message: DrWatson v0.5.0
Two minor breaking changes take place in this version, that
improve the functionality of `default_prefix` of `savename`
as well as `produce_or_load`.\n
"""; color = :light_magenta)
touch(joinpath(@__DIR__, update_name))
end
end

end

2 comments on commit f3d0cf5

@Datseris
Copy link
Member 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 updated: JuliaRegistries/General/1035

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 Julia TagBot is installed, or can be done manually through the github interface, or via:

git tag -a v0.5.0 -m "<description of version>" f3d0cf5cffcb14b4693236f44139842f6598aab7
git push origin v0.5.0

Please sign in to comment.