Add automated releases

This commit is contained in:
lowlighter
2021-02-18 20:12:47 +01:00
parent 6d1d117550
commit ea8d77b6d4
3 changed files with 108 additions and 2 deletions

4
.github/index.mjs vendored
View File

@@ -46,8 +46,8 @@
if (mode === "publish") {
console.log(`Pushing staged changes: \n${[...staged].map(file => ` - ${file}`).join("\n")}`)
const gitted = await git
.addConfig("user.name", "GitHub Action")
.addConfig("user.email", "<>")
.addConfig("user.name", "github-actions[bot]")
.addConfig("user.email", "41898282+github-actions[bot]@users.noreply.github.com")
.add([...staged])
.commit("Auto-regenerate files")
.push("origin", "master")