Skip to content

Commit 94dd1e8

Browse files
committed
Remove test comments from build.js
1 parent bf580bc commit 94dd1e8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

build.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,9 @@ const generateNugetPackageAndPublishIt = async () => {
170170

171171
const nugetPackagePath = resolve("src", "bin", "Release", `${packageName}.${newVersion}.nupkg`)
172172

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+
)
176176

177177
log(success(`Nuget package published successfully`))
178178

@@ -193,7 +193,7 @@ const generateNugetPackageAndPublishIt = async () => {
193193
owner: "thoth-org",
194194
repo: "Thoth.Elmish.Toast",
195195
tag_name: newVersion,
196-
target_commitish: main,
196+
target_commitish: "main",
197197
name: newVersion,
198198
body: versionInfo.body,
199199
prerelease: isPrerelease
@@ -211,15 +211,15 @@ const generateNugetPackageAndPublishIt = async () => {
211211

212212

213213
const publishHandler = async (argv) => {
214-
// demoBuildHandler()
214+
demoBuildHandler()
215215

216216
// If user didn't ask only for the demo to be published
217217
if (!argv.demoOnly) {
218218
await generateNugetPackageAndPublishIt()
219219
}
220220

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"))
223223

224224
}
225225

0 commit comments

Comments
 (0)