Skip to content

Commit

Permalink
webcompstore-cli: don't delete wcs-amnifest entries before post
Browse files Browse the repository at this point in the history
  • Loading branch information
dulvui committed Mar 25, 2024
1 parent ec0c7ba commit 5ff8640
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions webcompstore-cli/webcompstore-cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,20 +139,6 @@ def patch_image(token, uuid, image):


def post_version(token, uuid, wcs_manifest, dist_files, version_tag):
# prepare wcs_manifest data for pos

del wcs_manifest["title"]
del wcs_manifest["description"]
del wcs_manifest["descriptionAbstract"]
del wcs_manifest["license"]
del wcs_manifest["repositoryUrl"]
del wcs_manifest["copyrightHolders"]
del wcs_manifest["authors"]
del wcs_manifest["searchTags"]

# wcs_manifest["readMe"] = None
# wcs_manifest["licenseAgreement"] = None

wcs_manifest["versionTag"] = version_tag
wcs_manifest["releaseTimestamp"] = datetime.now().strftime(
"%Y-%m-%dT%H:%M:%SZ")
Expand Down

0 comments on commit 5ff8640

Please sign in to comment.