Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion eng/pipelines/templates/jobs/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
- download: current
displayName: Download $(PipelineArtifactName)_packed
artifact: $(PipelineArtifactName)_packed
targetPath: $(Pipeline.Workspace)/drop

- template: /eng/common/pipelines/templates/steps/retain-run.yml

Expand All @@ -16,7 +17,8 @@ jobs:
"$(Version)" `
--title "$(Version)"

gh release upload $(Version) $(Pipeline.Workspace)/$(PipelineArtifactName)_packed/*.tgz
gh release upload $(Version) $(Pipeline.Workspace)/drop/platform/*.tgz
gh release upload $(Version) $(Pipeline.Workspace)/drop/wrapper/*.tgz
displayName: Create GitHub Release and upload artifacts
env:
GH_TOKEN: $(azuresdk-github-pat)
Expand Down
2 changes: 0 additions & 2 deletions eng/scripts/Build-Module.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ try {

# Copy the platform package files to the output directory
Copy-Item -Path "$npmPackagePath/*" -Recurse -Destination $outputDir -Force
Copy-Item -Path "$RepoRoot/README.md" -Destination $outputDir -Force
Copy-Item -Path "$RepoRoot/LICENSE" -Destination $outputDir -Force

$command = "dotnet publish '$projectFile' --runtime '$os-$arch' --output '$outputDir/dist' /p:Version=$Version"

Expand Down
8 changes: 8 additions & 0 deletions eng/scripts/Pack-Modules.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ try {
Write-Warning "Executable permissions are not set when packing on a Windows agent."
}

Copy-Item -Path "$RepoRoot/README.md" -Destination $packageFolder -Force
Copy-Item -Path "$RepoRoot/LICENSE" -Destination $packageFolder -Force
Write-Host "Copied README.md and LICENSE to $packageFolder"

Write-Host "Packaging $packageFolder into $OutputPath/platform"
Invoke-LoggedCommand "npm pack $packageFolder --pack-destination '$OutputPath/platform'" -GroupOutput | Tee-Object -Variable fileName
Write-Host "Package location: $OutputPath/platform/$fileName" -ForegroundColor Yellow
Expand All @@ -101,6 +105,10 @@ try {
$package | ConvertTo-Json -Depth 10 | Out-File -FilePath "$wrapperFolder/package.json" -Encoding utf8
Write-Host "Created package.json in $wrapperFolder"

Copy-Item -Path "$RepoRoot/README.md" -Destination $wrapperFolder -Force
Copy-Item -Path "$RepoRoot/LICENSE" -Destination $wrapperFolder -Force
Write-Host "Copied README.md and LICENSE to $wrapperFolder"

Write-Host "Packaging $wrapperFolder into $OutputPath/wrapper"
Invoke-LoggedCommand "npm pack $wrapperFolder --pack-destination '$OutputPath/wrapper'" -GroupOutput | Tee-Object -Variable fileName
Write-Host "Package location: $OutputPath/wrapper/$fileName" -ForegroundColor Yellow
Expand Down
2 changes: 1 addition & 1 deletion src/AzureMcp.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>0.0.9</Version>
<Version>0.0.10</Version>
<OutputType>Exe</OutputType>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
Expand Down