diff --git a/.devops/build-nuget.yaml b/.devops/build-nuget.yaml index 03ecd28..a3b7176 100644 --- a/.devops/build-nuget.yaml +++ b/.devops/build-nuget.yaml @@ -1,5 +1,5 @@ variables: - ENETVER: 12.0.0.$(Build.BuildId) + PackageVersion: 12.0.0.$(Build.BuildId) projectAPI: './ElectronNet.API/ElectronNet.API.csproj' projectCLI: './ElectronNet.CLI/ElectronNet.CLI.csproj' @@ -40,13 +40,13 @@ steps: inputs: command: 'build' projects: '$(projectAPI)' - arguments: '--configuration Release --force /property:Version=$(ENETVER)' + arguments: '--configuration Release --force /property:Version=$(PackageVersion)' - task: DotNetCoreCLI@2 inputs: command: 'build' projects: '$(projectCLI)' - arguments: '--configuration Release --force /property:Version=$(ENETVER)' + arguments: '--configuration Release --force /property:Version=$(PackageVersion)' - task: DotNetCoreCLI@2 inputs: @@ -54,7 +54,7 @@ steps: packagesToPack: '$(projectAPI)' configuration: 'Release' versioningScheme: 'off' - buildProperties: 'Version=$(ENETVER)' + buildProperties: 'Version=$(PackageVersion)' - task: DotNetCoreCLI@2 inputs: @@ -62,4 +62,22 @@ steps: packagesToPack: '$(projectCLI)' configuration: 'Release' versioningScheme: 'off' - buildProperties: 'Version=$(ENETVER)' + buildProperties: 'Version=$(PackageVersion)' + + + +- task: NuGetCommand@2 + displayName: 'push API to nuget' + inputs: + command: 'push' + packagesToPush: '$(Build.ArtifactStagingDirectory)/ElectronNET.API.$(PackageVersion).nupkg' + nuGetFeedType: 'external' + publishFeedCredentials: 'nuget-curiosity' + +- task: NuGetCommand@2 + displayName: 'push CLI to nuget' + inputs: + command: 'push' + packagesToPush: '$(Build.ArtifactStagingDirectory)/ElectronNET.CLI.$(PackageVersion).nupkg' + nuGetFeedType: 'external' + publishFeedCredentials: 'nuget-curiosity' \ No newline at end of file diff --git a/ElectronNET.API/ElectronNET.API.csproj b/ElectronNET.API/ElectronNET.API.csproj index 7e948cf..d6beb0b 100644 --- a/ElectronNET.API/ElectronNET.API.csproj +++ b/ElectronNET.API/ElectronNET.API.csproj @@ -4,15 +4,15 @@ net5.0 true ..\artifacts - ElectronNET.API - Gregor Biswanger, Robert Muehsig + h5.ElectronNET.API + Gregor Biswanger, Robert Muehsig, Rafael Oliveira Electron.NET MIT - https://github.com/ElectronNET/Electron.NET/ + https://github.com/theolivenbaum/Electron.NET/ Building cross platform electron based desktop apps with .NET Core and ASP.NET Core. This package contains the API to access the "native" electron API. - https://github.com/ElectronNET/Electron.NET/ + https://github.com/theolivenbaum/Electron.NET/ git true electron aspnetcore diff --git a/ElectronNET.CLI/ElectronNET.CLI.csproj b/ElectronNET.CLI/ElectronNET.CLI.csproj index a4bd011..55f0dc9 100644 --- a/ElectronNET.CLI/ElectronNET.CLI.csproj +++ b/ElectronNET.CLI/ElectronNET.CLI.csproj @@ -5,15 +5,15 @@ net5.0 dotnet-electronize - electronize + electronize-h5 DotnetCliTool true ..\artifacts - ElectronNET.CLI + h5.ElectronNET.CLI 99.0.0.0 - Gregor Biswanger, Robert Muehsig + Gregor Biswanger, Robert Muehsig, Rafael Oliveira Electron.NET @@ -21,12 +21,12 @@ This package contains the dotnet tooling to electronize your application. MIT - https://github.com/ElectronNET/Electron.NET/ - https://github.com/ElectronNET/Electron.NET/ + https://github.com/theolivenbaum/Electron.NET/ + https://github.com/theolivenbaum/Electron.NET/ git true electron aspnetcore - Changelog: https://github.com/ElectronNET/Electron.NET/blob/master/Changelog.md + Changelog: https://github.com/theolivenbaum/Electron.NET/blob/master/Changelog.md PackageIcon.png true