Skip to content

Commit

Permalink
Check that Project.toml has compat.julia
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf committed May 27, 2019
1 parent e2c04b5 commit aa7b693
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/ReleaseFlow.jl
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,14 @@ function _start_release(
error("`$project` does not have `version`.")
end
end
if !(haskey(prj, "compat") && haskey(prj["compat"], "julia"))
error("""
No Julia compatibility information. Add the following in $project:
[compat]
julia = "1"
""")
end
_run(eff, `git push -u origin $release_branch`)
_github_new_issue(
eff, repo;
Expand Down

0 comments on commit aa7b693

Please sign in to comment.