Uploaded image for project: 'VS Code Extension'
  1. VS Code Extension
  2. VSCODEEXT-204

Automate Extension Publishing via GitHub Action

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 1.9.0
    • CI/Github
    • None

      Currently, we publish our extensions by downloading the signed qtcli and running publish.ts. Instead of doing that, we should create a GitHub Action that handles publishing automatically.

      An example command would be the following:

      gh workflow run "Publish" --repo https://github.com/qt-labs/vscodeext -f release
      # or for pre-release
      gh workflow run "Publish" --repo https://github.com/qt-labs/vscodeext -f pre-release
      

      The above command should publish both on the VSCode Marketplace and the Open VSX Registry.

      Notes:

      1. Only official developers should be allowed to trigger the action. Check access rights.
      1. The action must run the same checks as publish.ts before publishing.
      1. Tags should be created and pushed automatically.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qtvscodeteam Qt VS Code
            orkun.tokdemir Orkun Tokdemir
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes