Skip to content

Commit

Permalink
feat: auto release
Browse files Browse the repository at this point in the history
  • Loading branch information
amorist committed Jul 10, 2019
1 parent 7978d39 commit 1ec7f83
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"branch": "master",
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md",
"changelogTitle": "# GoFormation Versioning Changelog"
}
],
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md",
"AUTHORS.md"
]
}
],
[
"@semantic-release/github"
]
]
}
27 changes: 27 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
language: go
go:
- 1.11.x

env:
- GO111MODULE=on

install: true

jobs:
include:
# Define the release stage that runs semantic-release
- stage: release
if: type = push
language: node_js
node_js: lts/*
before_install: skip
deploy:
provider: script
skip_cleanup: true
script: >-
go get github.com/myii/maintainer &&
maintainer contributor &&
npm install @semantic-release/changelog@3 -D &&
npm install @semantic-release/exec@3 -D &&
npm install @semantic-release/git@7 -D &&
npx semantic-release@15

0 comments on commit 1ec7f83

Please # to comment.