From 07cc6647a7573f44418e13141cc914f3b979b567 Mon Sep 17 00:00:00 2001 From: Alex Jerabek <38896772+AlexJerabek@users.noreply.github.com> Date: Wed, 15 Jan 2025 14:03:51 -0800 Subject: [PATCH] Publish to main (#920) * Update Dev Kit sample testing process * Update ADD_SAMPLE_INTO_DEV_KIT.md Co-authored-by: Alex Jerabek <38896772+AlexJerabek@users.noreply.github.com> * Update ADD_SAMPLE_INTO_DEV_KIT.md Co-authored-by: Alex Jerabek <38896772+AlexJerabek@users.noreply.github.com> --------- Co-authored-by: Herman Wen Co-authored-by: Herman Wen <105693302+hermanwenhe@users.noreply.github.com> --- ADD_SAMPLE_INTO_DEV_KIT.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ADD_SAMPLE_INTO_DEV_KIT.md b/ADD_SAMPLE_INTO_DEV_KIT.md index 2f498b0e6..4dc12d861 100644 --- a/ADD_SAMPLE_INTO_DEV_KIT.md +++ b/ADD_SAMPLE_INTO_DEV_KIT.md @@ -12,10 +12,9 @@ For new samples, use `dev` as the target branch for pull requests. The `dev` bra ## Testing -1. Uninstall the installed Office Add-ins Development Kit. -2. Download the [test version of Dev Kit](./assets/dev-kit-test-package.vsix) and install it manually in VSCode. -3. Set the environment variable `OTK_SAMPLE_CONFIG_BRANCH` to `dev` or other branch with a valid [sample-config.json](./.config/sample-config.json) of this repo on your development machine. Setting this variable will force sample gallery to use the config in the dedicated branch instead of `main`. -4. Open Dev Kit. Select `View Samples` to view sample gallery and do testing. +1. Install the latest Office Add-ins Development Kit, make sure the version is equal or higher than 1.0.1. +2. Set the environment variable `OTK_SAMPLE_CONFIG_BRANCH` to `dev` or other branch with a valid [sample-config.json](./.config/sample-config.json) of this repo on your development machine. Setting this variable will force the sample gallery to use the configuration in the dedicated branch instead of `main`. +3. Open the Development Kit. Select `View Samples` to view sample gallery and test. ## Check in the new sample into the sample gallery