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

Rename CFG NuGet to SonarAnalyzer.CFG #7644

Merged
merged 1 commit into from
Jul 24, 2023
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
6 changes: 3 additions & 3 deletions analyzers/src/SonarAnalyzer.CFG/SonarAnalyzer.CFG.cs.nuspec
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>SonarAnalyzer.CFG.CSharp</id>
<id>SonarAnalyzer.CFG</id>
<version>9.6.0.0</version>
<title>C# CFG library for SonarAnalyzer</title>
<title>CFG library for SonarAnalyzer</title>
<authors>SonarSource</authors>
<owners>SonarSource</owners>
<license type="expression">LGPL-3.0-only</license>
<repository type="git" url="https://github.com/SonarSource/sonar-dotnet" />
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>CFG library for SonarSource C# plugins</description>
<description>SonarSource CFG library</description>
<language>en-US</language>
<copyright>Copyright © 2015-2023 SonarSource SA</copyright>
<frameworkAssemblies>
Expand Down
8 changes: 4 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,12 @@ stages:
artifactName: 'NuGet Packages'

- task: ArtifactoryNuGet@1
displayName: 'Publish SonarAnalyzer.CFG.CSharp NuGet on repox'
displayName: 'Publish SonarAnalyzer.CFG NuGet on repox'
inputs:
command: 'push'
artifactoryService: 'Repox artifactory'
targetDeployRepo: '$(ARTIFACTORY_NUGET_REPO)'
pathToNupkg: '$(Build.ArtifactStagingDirectory)/packages/SonarAnalyzer.CFG.CSharp.*.nupkg'
pathToNupkg: '$(Build.ArtifactStagingDirectory)/packages/SonarAnalyzer.CFG.*.nupkg'

- task: PublishPipelineArtifact@1
displayName: 'Publish analyzer binaries as pipeline artifact'
Expand Down Expand Up @@ -520,7 +520,7 @@ stages:
condition: succeeded()
jobs:
- job: promoteRepox
displayName: 'SonarAnalyzer.CFG.CSharp'
displayName: 'SonarAnalyzer.CFG'
workspace:
clean: all
steps:
Expand Down Expand Up @@ -551,7 +551,7 @@ stages:
else:
targetRepo = sourceRepo.replace('qa', 'public')

artifact = f'SonarAnalyzer.CFG.CSharp.{version}.nupkg'
artifact = f'SonarAnalyzer.CFG.{version}.nupkg'
print(f'Promoting nuget {artifact} from {sourceRepo} to {targetRepo}')

url = f'$(ARTIFACTORY_URL)/api/move/{sourceRepo}/{artifact}?to=/{targetRepo}/{artifact}'
Expand Down