Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable master link replacement feature in .NET #15040

Merged
merged 1 commit into from
Sep 10, 2020
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/stages/archetype-net-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,8 @@ stages:
parameters:
SourceFolder: ${{parameters.ArtifactName}}-signed
TargetFolder: ${{artifact.safeName}}/packages
FileFilter: ${{artifact.name}}.[0-9]*.[0-9]*.[0-9]*
FileFilter: "${{artifact.name}}.[0-9]*.[0-9]*.[0-9]*"
Exclude: "*.symbols.nupkg"
- template: /eng/pipelines/templates/steps/stage-artifacts.yml
parameters:
SourceFolder: Docs.${{artifact.name}}
Expand All @@ -230,6 +231,7 @@ stages:
BlobSASKey: '$(azure-sdk-docs-prod-sas)'
BlobName: '$(azure-sdk-docs-prod-blob-name)'
TargetLanguage: 'dotnet'
ArtifactLocation: '$(Pipeline.Workspace)/${{artifact.safeName}}/packages'
# we override the regular script path because we have cloned the build tools repo as a separate artifact.
ScriptPath: 'eng/common/scripts/copy-docs-to-blobstorage.ps1'

Expand Down
4 changes: 2 additions & 2 deletions eng/pipelines/templates/steps/stage-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ parameters:
SourceFolder: '' # ArtifactName (aka "packages")
TargetFolder: '' # artifact.safename (azuretemplate)
FileFilter: '' #${{artifact.name}}.[0-9]*.[0-9]*.[0-9]*

Exclude: '' # Regex of the exlude packges (aka "*.symbols.nupkg")
steps:
- pwsh: |
New-Item -Force -Type Directory -Name ${{parameters.TargetFolder}} -Path $(Pipeline.Workspace)
Write-Host "Copy-Item -Force -Recurse $(Pipeline.Workspace)/${{parameters.SourceFolder}}/${{parameters.FileFilter}} $(Pipeline.Workspace)/${{parameters.TargetFolder}}"
Copy-Item -Force -Recurse $(Pipeline.Workspace)/${{parameters.SourceFolder}}/${{parameters.FileFilter}} $(Pipeline.Workspace)/${{parameters.TargetFolder}}
Copy-Item -Force -Recurse $(Pipeline.Workspace)/${{parameters.SourceFolder}}/${{parameters.FileFilter}} $(Pipeline.Workspace)/${{parameters.TargetFolder}} -Exclude "${{parameters.Exclude}}"
displayName: Stage artifacts
10 changes: 9 additions & 1 deletion sdk/template/Azure.Template/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
# Release History
# 1.0.3-beta.11 (Unreleased)

## 1.0.3-beta.8 (Unreleased)

## 1.0.3-beta.10 (2020-09-09)
- Enable the master link replacement feature, attempt 3

## 1.0.3-beta.9 (2020-09-09)
- Enable the master link replacement feature, attempt 2

## 1.0.3-beta.8 (2020-09-09)
- Enable the master link replacement feature, attempt 1

## 1.0.3-beta.7 (2020-09-04)
- Test release tag replacement
Expand Down
2 changes: 1 addition & 1 deletion sdk/template/Azure.Template/src/Azure.Template.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<Description>This is a template project to demonstrate how to create a package that uses code generation as well as use for testing our build and release pipelines</Description>
<AssemblyTitle>Azure SDK Template</AssemblyTitle>
<Version>1.0.3-beta.8</Version>
<Version>1.0.3-beta.11</Version>
<PackageTags>Azure Template</PackageTags>
<TargetFrameworks>$(RequiredTargetFrameworks)</TargetFrameworks>
</PropertyGroup>
Expand Down