with releaser
This commit is contained in:
parent
c0f6d6b4c6
commit
15a764a3ef
@ -3,9 +3,22 @@ package main
|
|||||||
import "github.com/bitfield/script"
|
import "github.com/bitfield/script"
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
||||||
|
releaseRc := `
|
||||||
|
branches:
|
||||||
|
- "main"
|
||||||
|
- "v0.x"
|
||||||
|
|
||||||
|
plugins:
|
||||||
|
- "@semantic-release/commit-analyzer"
|
||||||
|
- "@semantic-release/release-notes-generator"
|
||||||
|
- "@semantic-release/changelog"
|
||||||
|
- "@semantic-release/git"
|
||||||
|
`
|
||||||
|
|
||||||
_, err := script.
|
_, err := script.
|
||||||
Echo("# Readme").
|
Echo(releaseRc).
|
||||||
WriteFile("README.md")
|
WriteFile(".releaserc.yml")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user