Update version to 0.7.0 (#171)

* Update version to 0.7.0

Also update Travis config to test on 1.x instead of 1.4 specifically.

* One last bugfix
This commit is contained in:
Chris de Graaf 2020-05-25 18:16:51 -05:00 committed by GitHub
parent 18c32a1519
commit 7ae227000a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View File

@ -7,7 +7,7 @@ os:
- windows
julia:
- 1.0
- 1.4
- 1
- nightly
before_script:
- git config --global user.name Tester

View File

@ -1,7 +1,7 @@
name = "PkgTemplates"
uuid = "14b8a8f1-9102-5b29-a752-f990bacb7fe1"
authors = ["Chris de Graaf", "Invenia Technical Computing Corporation"]
version = "0.7.0-DEV"
version = "0.7.0"
[deps]
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"

View File

@ -204,6 +204,8 @@ function interactive(::Type{Template}; kwargs...)
end
end
prompt(::Type{Template}, ::Type, ::Val{:pkg}) = Base.prompt("Package name")
function prompt(::Type{Template}, ::Type, ::Val{:host})
hosts = ["github.com", "gitlab.com", "bitbucket.org", "Other"]
menu = RadioMenu(hosts; pagesize=length(hosts))