Skip to content

Commit

Permalink
Revised publishing scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
lextm committed Apr 8, 2023
1 parent e8d9740 commit f0e5d87
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist.publish2nugetdotorg.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.\nuget.exe update /self
for %%f in (.\*.nupkg) do .\nuget.exe push %%f -Source https://api.nuget.org/v3/index.json
for %%f in (.\*.snupkg) do .\nuget.exe push %%f -Source https://api.nuget.org/v3/index.json
@REM Symbol package is pushed in this step as well.
2 changes: 1 addition & 1 deletion sign.assembly.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$file = ".\cert.txt"
$file = Join-Path $PSScriptRoot "cert.txt"
if (-not (Test-Path $file))
{
Write-Host "No certificate specified. Exit."
Expand Down
2 changes: 1 addition & 1 deletion sign.nuget.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$nuget = ".\nuget.exe"
$nuget = Join-Path $PSScriptRoot "nuget.exe"

if (!(Test-Path $nuget))
{
Expand Down

0 comments on commit f0e5d87

Please sign in to comment.