Skip to content

Force unpublish extension from marketplace #400

Closed

Description

@dilin-MS

Hi, I wonder are there any way to force unpublish extension from marketplace instead of interactively asking me This will FOREVER delete 'XX.XXX'! Are you sure? [y/N]

The scenario is that I will publish test version extension on marketplace with id "dilin.my-test-extension". The extension is pushed to marketplace in CI/CD. Since the extension is just a test version extension, it's version will always be the same for the same release of main extension. If we fix some issues and would like to publish the test extension to marketplace, considering the version does not change, we need to unpublish the former one from marketplace and publish the new one.

I would like to have a script like vsce unpublish -p <my-PAT> dilin.my-test-extension in CI/CD script. The problem is that this command is interactive and will ask me to confirm Yes. Are there any way to force unpublish extension from marketplace? A -f option for example.
THX!

Activity

  1. added
    feature-request
    help wanted
    on Nov 19, 2019
  2. Grommers00 commented on Nov 30, 2019

    @Grommers00
    Contributor

    Could I try this issue?

  3. added a commit that references this issue on Nov 30, 2019
    955e3df
  4. dilin-MS commented on Dec 2, 2019

    @dilin-MS
    Author

    Hi, later I discovered a workaround to achieve my goal: yes | vsce unpublish -p <my-PAT> dilin.my-test-extension

  5. added
    verification-needed
    on Dec 3, 2019
  6. connor4312 commented on Dec 3, 2019

    @connor4312
    Member

    This doesn't appear to have been published yet, so I'm unable to see the flag. Once this is published I'll check it out 🙂

  7. added
    verification-found
    and removed
    verified
    on Dec 3, 2019
  8. sandy081 commented on Dec 5, 2019

    @sandy081
    Member

    This is not published yet. So reopening until it is published.

  9. joaomoreno commented on Dec 9, 2019

    @joaomoreno
    Contributor

    Coming out in 1.71.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requesthelp wantedverification-neededverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions