Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
public
/
sequelize
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
不要怂,就是干,撸起袖子干!
Commit 300ee615
authored
Oct 19, 2019
by
Sushant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: setup publish config for v5
1 parent
2b9baa2a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
8 deletions
.travis.yml
package.json
.travis.yml
View file @
300ee61
...
...
@@ -6,6 +6,7 @@ language: node_js
branches
:
only
:
-
master
-
v5
-
/^greenkeeper/.*$/
except
:
-
/^v\d+\.\d+\.\d+$/
...
...
@@ -76,16 +77,16 @@ jobs:
node_js
:
'
8'
script
:
-
npm run semantic-release
before_deploy
:
-
npm run docs
deploy
:
provider
:
surge
project
:
./esdoc/
domain
:
docs.sequelizejs.com
skip_cleanup
:
true
#
before_deploy:
#
- npm run docs
#
deploy:
#
provider: surge
#
project: ./esdoc/
#
domain: docs.sequelizejs.com
#
skip_cleanup: true
stages
:
-
lint
-
test
-
name
:
release
if
:
branch =
master
AND type = push AND fork = false
if
:
branch =
v5
AND type = push AND fork = false
package.json
View file @
300ee61
...
...
@@ -115,6 +115,16 @@
"commit-msg"
:
"commitlint -E HUSKY_GIT_PARAMS"
}
},
"release"
:
{
"branch"
:
"v5"
,
"verifyConditions"
:
[
"@semantic-release/npm"
,
"@semantic-release/github"
]
},
"publishConfig"
:
{
"tag"
:
"v5"
},
"scripts"
:
{
"lint"
:
"eslint lib test --quiet"
,
"lint-docs"
:
"markdownlint docs"
,
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment