refactor: Update Teams app manifest versioning logic and add client ID to docker-compose

This commit is contained in:
Simon Larsen
2025-09-17 16:04:32 +01:00
parent 6301e24c02
commit 82397fec5a
2 changed files with 5 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ export default class MicrosoftTeamsAPI {
$schema:
"https://developer.microsoft.com/json-schemas/teams/v1.13/MicrosoftTeams.schema.json",
manifestVersion: "1.13",
version: AppVersion || "1.0.0",
version: AppVersion.toLowerCase().includes("unknown") ? "1.0.0" : AppVersion,
id: MicrosoftTeamsAppClientId || "{{MICROSOFT_TEAMS_APP_CLIENT_ID}}",
packageName: "com.oneuptime.teams",
developer: {

View File

@@ -72,6 +72,9 @@ x-common-variables: &common-variables
SLACK_APP_CLIENT_ID: ${SLACK_APP_CLIENT_ID}
MICROSOFT_TEAMS_APP_CLIENT_ID: ${MICROSOFT_TEAMS_APP_CLIENT_ID}
x-common-ui-variables: &common-ui-variables
<<: *common-variables
IS_SERVER: "false"
@@ -133,7 +136,7 @@ x-common-server-variables: &common-server-variables
SLACK_APP_SIGNING_SECRET: ${SLACK_APP_SIGNING_SECRET}
# Microsoft Teams Configuration
MICROSOFT_TEAMS_APP_CLIENT_ID: ${MICROSOFT_TEAMS_APP_CLIENT_ID}
MICROSOFT_TEAMS_APP_CLIENT_SECRET: ${MICROSOFT_TEAMS_APP_CLIENT_SECRET}
services: