# Master versions in a Project.toml?

**URL:** <https://discourse.julialang.org/t/master-versions-in-a-project-toml/82766>\
**Category:** General Usage\
**Tags:** franklin\
**Created:** [June 14, 2022, 5:32pm UTC](https://discourse.julialang.org/t/master-versions-in-a-project-toml/82766 "2022-06-14T17:32:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [June 14, 2022, 5:32pm UTC](https://discourse.julialang.org/t/master-versions-in-a-project-toml/82766/1 "2022-06-14T17:32:12Z")

</div>

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](https://discourse.julialang.org/t/failing-to-register-new-version-because/82346/7) 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.

---

<div class="post-metadata">

**Author:** ![BeastyBlacksmith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/beastyblacksmith/32/4741_2.png) [@BeastyBlacksmith](https://discourse.julialang.org/u/BeastyBlacksmith)\
**Post date:** [June 14, 2022, 5:37pm UTC](https://discourse.julialang.org/t/master-versions-in-a-project-toml/82766/2 "2022-06-14T17:37:14Z")

</div>

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

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

```

in a CI Script.

---

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [June 14, 2022, 5:44pm UTC](https://discourse.julialang.org/t/master-versions-in-a-project-toml/82766/3 "2022-06-14T17:44:46Z")

</div>

Thanks, I’m trying it now.

EDIT: worked, thanks again.
