Release mini programs

Overview

This topic provides steps to release mini programs. When a version is ready, the wallet and merchants can continue with the release process. The wallet and merchants can release mini programs to the current app or other available apps configured by the wallet.

For mini program members who have permission to release a version, see the following figure:

image

Only admins of the wallet and merchants have permission to release versions.

How it works

The following figure illustrates how the release process works:

image

  1. When a version is ready, the wallet and merchants can release the version. You can release the version in two ways.
  2. You can choose an app to release the version or click Release on the page to release the version to the current app.
  3. After that, you can submit the release request to the app for review.
  4. If the app approved your request, you can proceed to the pilot testing.
  5. When pilot testing is completed, you can conduct grayscale release or full release.

For details about the whole release process, read the following sections.

Procedures

To release a version, you can follow the corresponding steps as below:

Step 1: Version created

After uploading a version from Mini Program Studio (IDE) to the workspace, click Mini Program on the left menu panel and go to the Versions page of a mini program. You can release the version to different apps:

  • The current app is the app where you create the mini program. The current app is added to the App Manage automatically after creating a workspace.
  • Target apps are added by the wallet in the App Manage.

The current app

You can release the mini program to the current app in two ways:

  • Choose App
  • Release

Choose App

To release the mini program to different environments of the current app or other target apps configured by the wallet, Click Choose App.

image

Select the current app and choose an environment. Then click Select to trigger the release process.

Note: You cannot release a mini program to the same environment repeatedly.

image.png

Release

To directly release the mini program to the production environment, click Release to trigger the release process.

image

Target apps

To release the version to target apps, click Choose App to continue.

image

Select a target app you want and an environment. Then click Select to trigger the release process.

Note: You cannot release a mini program to the same environment repeatedly.

image

Whether to release the version to the current app or target apps, the release process continues with package building automatically. You can check and modify the configurations at this step by clicking View Configuration.

image

Then you can click Apply to Release to check the basic information, the authorization list for server domains, and the authorization list for WAP URLs. Currently, only the basic information is supported to modify in the release process. After confirming the basic information, click Apply to continue the release process.

Step 2: Under review

The release request of the version is sent to the wallet for approval.

image

Step 3: Pilot testing

After the request is approved, you can set the tester whitelist to conduct the pilot testing.

image

Click Set Test Whitelist to add tester emails and then click Add.

image

During the pilot testing, you can choose to add or delete testers to update the tester whitelist.

image

After the pilot testing is finished, click Finish Pilot Testing and then click Complete to enter the grayscale release.

image

Step 4: Grayscale release (Optional)

Click Confirm to trigger the grayscale release.

image

The grayscale ratio range is from 1%-100%. You can choose to conduct the grayscale by selecting any of ratios within the range. For example, if you want to release the mini program at 1% grayscale, select 1% and click Confirm to trigger the process. You can find problems and make adjustments at the initial grayscale.

image

If everything goes well, you can gradually increase the ratio to 100% to fully release the version. Then the whole release process comes to the end.

image

Step 5: Final release

If the version is ready to run online after the pilot testing, click Final Release to fully release the version directly. And the whole release process comes to the end at this step.

image

Now you have completed releasing a mini program version.

Next steps

Generate QR codes

Remove mini programs