Skip to content

Commit 2ce8335

Browse files
committed
fix: push to nuget
1 parent 292c7a8 commit 2ce8335

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.releaserc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
}],
88
["@semantic-release/github", {
99
"assets": [
10-
{"path": "unity-packer/nupkg/unity-packer.*.nupkg", "name": "unity-packer.${nextRelease.gitTag}.nupkg", "label": "unity-packer.${nextRelease.gitTag}.nupkg"}
10+
{"path": "unity-packer/nupkg/unity-packer.*.nupkg", "name": "unity-packer.${nextRelease.version}.nupkg", "label": "unity-packer.${nextRelease.version}.nupkg"}
1111
]
1212
}],
1313
"@semantic-release/changelog",
@@ -17,7 +17,7 @@
1717
["@semantic-release/exec", {
1818
"shell" : true,
1919
"prepareCmd": "dotnet pack",
20-
"publish": "dotnet nuget push -k $NUGET_APIKEY"
20+
"publishCmd": "dotnet nuget push unity-packer/nupkg/unity-packer.${nextRelease.version}.nupkg -k $NUGET_APIKEY -s https://api.nuget.org/v3/index.json"
2121
}]
2222
]
2323
}

0 commit comments

Comments
 (0)