Skip to content

Commit

Permalink
Set skill distribution mode to public by default
Browse files Browse the repository at this point in the history
Signed-off-by: jsetton <[email protected]>
  • Loading branch information
jsetton committed Sep 2, 2023
1 parent cbc0efc commit 489f701
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .github/scripts/generateDeployConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,6 @@ function updateSkillManifest() {
const schema = loadSchema(SKILL_MANIFEST_FILE);
// Extract publishing information from manifest
const { publishingInformation } = schema.manifest;
// Set publishing distribution mode as public
publishingInformation.distributionMode = 'PUBLIC';
// Set publishing testing instructions username and passowrd
publishingInformation.testingInstructions = publishingInformation.testingInstructions
.replace('%TESTING_USERNAME%', process.env.TESTING_USERNAME)
Expand Down
2 changes: 1 addition & 1 deletion skill-package/skill.json
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@
},
"distributionCountries": [],
"isAvailableWorldwide": true,
"distributionMode": "PRIVATE",
"distributionMode": "PUBLIC",
"testingInstructions": "A demo account has been setup on our cloud service myopenhab.org for this skill:\n\nUsername: %TESTING_USERNAME%\nPassword: %TESTING_PASSWORD%\n\nOnce the skill is linked to our cloud service and discovery is run, it should find a few lights, a lock, a speaker, a thermostat and a window blind.",
"category": "SMART_HOME"
},
Expand Down

0 comments on commit 489f701

Please sign in to comment.