Skip to content

Commit

Permalink
Only use major.minor.patch for compat version (#100)
Browse files Browse the repository at this point in the history
* Only use major.minor.patch for compat version

Fixes issue #99

* Increase version number, bugfix

* Add 1.4.1 news
  • Loading branch information
karajan9 authored and Datseris committed Oct 11, 2019
1 parent a499124 commit 195578c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 1.4.1
* Fix a bug that created incompatible version strings in generated `Project.toml` files on release candidate versions of Julia.

# 1.4.0
* `savename` now supports rounding to significant digits with the keyword argument `scientific`, where `scientific` defines the number of significant digits.
# 1.3.0
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "DrWatson"
uuid = "634d3b9d-ee7a-5ddf-bec9-22491ea816e1"
repo = "https://github.com/JuliaDynamics/DrWatson.jl.git"
version = "1.4.0"
version = "1.4.1"


[deps]
Expand Down
2 changes: 1 addition & 1 deletion src/project_setup.jl
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ function initialize_project(path, name = basename(path);
end
w *= """
[compat]
julia = "$VERSION"
julia = "$(VERSION.major).$(VERSION.minor).$(VERSION.patch)"
"""
write(joinpath(path, "Project.toml"), w, pro)
push!(files, "Project.toml")
Expand Down

2 comments on commit 195578c

@Datseris
Copy link
Member

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/4283

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 v1.4.1 -m "<description of version>" 195578c6bde8b1e4ae429a41182fe2adb3bbc297
git push origin v1.4.1

Please sign in to comment.