Skip to content

Commit

Permalink
Remove the update changelog setp
Browse files Browse the repository at this point in the history
  • Loading branch information
orta committed Apr 16, 2020
1 parent 16d8666 commit 585b006
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions scripts/update-changelog.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import * as fs from "fs"
// import * as fs from "fs"

// Update the CHANGELOG with the new version
// // Update the CHANGELOG with the new version

const changelog = fs.readFileSync("CHANGELOG.md", "utf8")
const newCHANGELOG = changelog.replace(
"<!-- Your comment below this -->",
`<!-- Your comment below this -->
// const changelog = fs.readFileSync("CHANGELOG.md", "utf8")
// const newCHANGELOG = changelog.replace(
// "<!-- Your comment below this -->",
// `<!-- Your comment below this -->

# ${process.env.VERSION}
`
)
fs.writeFileSync("CHANGELOG.md", newCHANGELOG, "utf8")
// # ${process.env.VERSION}
// `
// )
// fs.writeFileSync("CHANGELOG.md", newCHANGELOG, "utf8")

0 comments on commit 585b006

Please sign in to comment.