mirror of
https://github.com/nsnail/ns-ext.git
synced 2025-06-17 01:43:22 +08:00
<chore>
This commit is contained in:
parent
1f17375915
commit
d1978d9d9e
@ -15,7 +15,7 @@ Task("Build")
|
|||||||
.IsDependentOn("Clean")
|
.IsDependentOn("Clean")
|
||||||
.Does(context =>
|
.Does(context =>
|
||||||
{
|
{
|
||||||
DotNetPublish("./src/NSExt.csproj", new DotNetPublishSettings {
|
DotNetPublish("./src/NSExt/NSExt.csproj", new DotNetPublishSettings {
|
||||||
Configuration = configuration,
|
Configuration = configuration,
|
||||||
Framework = framework,
|
Framework = framework,
|
||||||
});
|
});
|
||||||
@ -89,7 +89,7 @@ Task("Publish-NuGet")
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Publish to GitHub Packages
|
// Publish to GitHub Packages
|
||||||
foreach(var file in context.GetFiles("./dist/NSExt/bin/*.*"))
|
foreach(var file in context.GetFiles("./dist/NSExt/bin/Release/*.*"))
|
||||||
{
|
{
|
||||||
context.Information("Publishing {0}...", file.GetFilename().FullPath);
|
context.Information("Publishing {0}...", file.GetFilename().FullPath);
|
||||||
DotNetNuGetPush(file.FullPath, new DotNetNuGetPushSettings
|
DotNetNuGetPush(file.FullPath, new DotNetNuGetPushSettings
|
||||||
|
Loading…
x
Reference in New Issue
Block a user