Skip to content

Commit

Permalink
GHA: rename the nuget package
Browse files Browse the repository at this point in the history
This renames the nuget package so that we can normalize all the nuget
packages to `.platform.arch` suffixes, e.g. `.windows.amd64` or
`.windows.arm64`.
  • Loading branch information
compnerd committed Dec 15, 2023
1 parent 95b558f commit 7ade259
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/bcny-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>io.sentry.sentry-native.win.crashpad.$suffix</id>
<id>io.sentry.sentry-native.crashpad.windows.$suffix</id>
<version>0.0.0.0</version>
<title>Sentry Native SDK</title>
<description>C++ Sentry Native SDK</description>
Expand Down Expand Up @@ -97,6 +97,6 @@ jobs:
}
nuget sources Add -Name ${env:NUGET_SOURCE_NAME} -Source ${env:NUGET_SOURCE_URL} -Username ${env:NUGET_SOURCE_USERNAME} -Password ${env:NUGET_SOURCE_PASSWORD} -StorePasswordInClearText
nuget setApiKey ${env:NUGET_API_KEY} -Source ${env:NUGET_SOURCE_URL}
$pkgs = Get-ChildItem -Path io.sentry.sentry-native.win.crashpad.*.nupkg
$pkgs = Get-ChildItem -Path io.sentry.sentry-native.crashpad.windows.*.nupkg
nuget push $pkgs[0].Name -Source ${env:NUGET_SOURCE_URL} -SkipDuplicate
shell: pwsh

0 comments on commit 7ade259

Please sign in to comment.