Skip to content

Commit 1ec7f83

Browse files
committed
feat: auto release
1 parent 7978d39 commit 1ec7f83

File tree

2 files changed

+53
-0
lines changed

2 files changed

+53
-0
lines changed

.releaserc

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"branch": "master",
3+
"plugins": [
4+
"@semantic-release/commit-analyzer",
5+
"@semantic-release/release-notes-generator",
6+
[
7+
"@semantic-release/changelog",
8+
{
9+
"changelogFile": "CHANGELOG.md",
10+
"changelogTitle": "# GoFormation Versioning Changelog"
11+
}
12+
],
13+
[
14+
"@semantic-release/git",
15+
{
16+
"assets": [
17+
"CHANGELOG.md",
18+
"AUTHORS.md"
19+
]
20+
}
21+
],
22+
[
23+
"@semantic-release/github"
24+
]
25+
]
26+
}

.travis.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
language: go
2+
go:
3+
- 1.11.x
4+
5+
env:
6+
- GO111MODULE=on
7+
8+
install: true
9+
10+
jobs:
11+
include:
12+
# Define the release stage that runs semantic-release
13+
- stage: release
14+
if: type = push
15+
language: node_js
16+
node_js: lts/*
17+
before_install: skip
18+
deploy:
19+
provider: script
20+
skip_cleanup: true
21+
script: >-
22+
go get github.com/myii/maintainer &&
23+
maintainer contributor &&
24+
npm install @semantic-release/changelog@3 -D &&
25+
npm install @semantic-release/exec@3 -D &&
26+
npm install @semantic-release/git@7 -D &&
27+
npx semantic-release@15

0 commit comments

Comments
 (0)