Master versions in a Project.toml?

Is there a way to specify a package master version in a Project.toml file?

The problem for me is that I’m working in a Franklin site and need fixes that I have to apply to GMT.jl but at same time I can’t (automatically) register new versions because of so the easy solution would be to tell Franklin to install master version, but can’t find a way. Tried -dev, #master, @master but they all error.

You can’t write that in the Project.toml file, but you can write

using Pkg
Pkg.add(PackageSpec(name="GMT", rev="master"))

in a CI Script.

1 Like

Thanks, I’m trying it now.

EDIT: worked, thanks again.