Skip to content

Commit 6ad87bd

Browse files
committed
limit to adding specific branch on all supported packages
1 parent b711c4e commit 6ad87bd

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/constants.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,5 @@ const EXPORTED_TYPES = [MDP,
5252
Solver,
5353
Updater,
5454
Union{MDP, POMDP}]
55+
56+
const BRANCH06 = "0.6-version"

src/utils.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ function add(solver_name::AbstractString, v::Bool=true)
1818
else
1919
try
2020
Pkg.clone(full_url)
21+
Pkg.checkout(solver_name, BRANCH06)
2122
Pkg.build(solver_name)
2223
catch ex
2324
if isa(ex, Base.Pkg.PkgError) && ex.msg == "$solver_name already exists"
@@ -75,7 +76,7 @@ function update()
7576
for p in SUPPORTED_PACKAGES
7677
# check if package is intalled
7778
if isdir(Pkg.dir(p))
78-
Pkg.checkout(p)
79+
Pkg.checkout(p, BRANCH06)
7980
end
8081
end
8182
end

0 commit comments

Comments
 (0)