Skip to content

Commit

Permalink
remove unreleased version's package after release
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-aksamentov committed Jan 29, 2024
1 parent 4b02e2f commit 4d74dcf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/rebuild
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,9 @@ def create_dataset_package(args, dataset, pathogen_json, tag, dataset_dir):
json_write(not_found_json, join(args.output_dir, "404.json"))
file_write("User-agent: *\nDisallow: /\n", join(args.output_dir, "robots.txt"))

if tag != "unreleased":
rmrf(join(args.output_dir, path, "unreleased"))


def get_dataset_name_friendly(dataset):
return dict_get_required(dataset, ["attributes", "name"])
Expand Down

0 comments on commit 4d74dcf

Please sign in to comment.