File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -343,7 +343,7 @@ function update_versions_file(pkg::Project,
343343 version_info[" git-tag-name" ] = tag_name
344344 end
345345 if subdir != " "
346- version_info[" git-tree-path " ] = subdir
346+ version_info[" subdir " ] = subdir
347347 end
348348 versions_data[string (pkg. version)] = version_info
349349
@@ -364,7 +364,7 @@ function update_versions_file(pkg::Project,
364364 return 3
365365 elseif x == " git-tag-name"
366366 return 4
367- elseif x == " git-tree-path "
367+ elseif x == " subdir "
368368 return 5
369369 elseif x == " yanked"
370370 return 100
Original file line number Diff line number Diff line change @@ -304,10 +304,10 @@ end
304304 @test data isa Dict
305305 @test collect (keys (data)) == [" 1.0.0" ]
306306 @test data[" 1.0.0" ] isa Dict
307- @test sort! (collect (keys (data[" 1.0.0" ]))) == [" git-commit-sha1" , " git-tree-path " , " git-tree-sha1 " ]
307+ @test sort! (collect (keys (data[" 1.0.0" ]))) == [" git-commit-sha1" , " git-tree-sha1 " , " subdir " ]
308308 @test data[" 1.0.0" ][" git-tree-sha1" ] == tree_hash
309309 @test data[" 1.0.0" ][" git-commit-sha1" ] == commit_hash
310- @test data[" 1.0.0" ][" git-tree-path " ] == subdir
310+ @test data[" 1.0.0" ][" subdir " ] == subdir
311311
312312 check_versions! (pkg, data, status)
313313 # This version was just registered, should be a complaint now.
You can’t perform that action at this time.
0 commit comments