Skip to content

Commit

Permalink
YAATFT
Browse files Browse the repository at this point in the history
  • Loading branch information
pedromxavier committed Dec 7, 2023
1 parent a6504fb commit e37ba27
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/curation/index.jl
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,13 @@ end

function tag(path::AbstractString)
last_tag = if haskey(ENV, "LAST_QUBOLIB_TAG")
parse(VersionNumber, ENV["LAST_QUBOLIB_TAG"])
x = tryparse(VersionNumber, ENV["LAST_QUBOLIB_TAG"])

if isnothing(x)
v"0.1.0"
else
x
end
else
last_tag_path = abspath(path, "last.tag")

Expand Down

0 comments on commit e37ba27

Please sign in to comment.