File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -170,9 +170,9 @@ const generateNugetPackageAndPublishIt = async () => {
170
170
171
171
const nugetPackagePath = resolve ( "src" , "bin" , "Release" , `${ packageName } .${ newVersion } .nupkg` )
172
172
173
- // shell.exec(
174
- // `dotnet nuget push -s nuget.org -k ${NUGET_KEY} ${nugetPackagePath}`
175
- // )
173
+ shell . exec (
174
+ `dotnet nuget push -s nuget.org -k ${ NUGET_KEY } ${ nugetPackagePath } `
175
+ )
176
176
177
177
log ( success ( `Nuget package published successfully` ) )
178
178
@@ -193,7 +193,7 @@ const generateNugetPackageAndPublishIt = async () => {
193
193
owner : "thoth-org" ,
194
194
repo : "Thoth.Elmish.Toast" ,
195
195
tag_name : newVersion ,
196
- target_commitish : main ,
196
+ target_commitish : " main" ,
197
197
name : newVersion ,
198
198
body : versionInfo . body ,
199
199
prerelease : isPrerelease
@@ -211,15 +211,15 @@ const generateNugetPackageAndPublishIt = async () => {
211
211
212
212
213
213
const publishHandler = async ( argv ) => {
214
- // demoBuildHandler()
214
+ demoBuildHandler ( )
215
215
216
216
// If user didn't ask only for the demo to be published
217
217
if ( ! argv . demoOnly ) {
218
218
await generateNugetPackageAndPublishIt ( )
219
219
}
220
220
221
- // // Publish the demo on Github Pages
222
- // await ghpagesPublisPromise(resolve("demo", "output"))
221
+ // Publish the demo on Github Pages
222
+ await ghpagesPublisPromise ( resolve ( "demo" , "output" ) )
223
223
224
224
}
225
225
You can’t perform that action at this time.
0 commit comments