Skip to content

Instantly share code, notes, and snippets.

@garrytrinder
Created September 30, 2019 00:42
Show Gist options
  • Select an option

  • Save garrytrinder/0b0e0bc62c1817958c66dc4ee67fbe92 to your computer and use it in GitHub Desktop.

Select an option

Save garrytrinder/0b0e0bc62c1817958c66dc4ee67fbe92 to your computer and use it in GitHub Desktop.
$manifest = Get-Content -Path $(System.DefaultWorkingDirectory)/teams-app-CI/package/teams-app/manifest.json | ConvertFrom-Json
$appId = $manifest.id
Write-Host "##vso[task.setvariable variable=appId;]$appId"
Write-Host "Set environment variable to $($env:APPID)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment