Skip to content

Commit

Permalink
Add release step
Browse files Browse the repository at this point in the history
  • Loading branch information
humphd committed Feb 19, 2019
1 parent b8d480a commit 2699f42
Show file tree
Hide file tree
Showing 7 changed files with 2,246 additions and 72 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
*~
node_modules
.cache
dist
.env

dist/*
!dist/nohost-sw.js
!dist/nohost-sw.map
18 changes: 18 additions & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"scripts": {
"beforeStart": "npm run test",
"beforeBump": "npm run build",
"changelogCommand": "git log --pretty=format:'* %s (%h)' [REV_RANGE]"
},
"git": {
"pushRepo": "git@github.com:humphd/nohost.git",
"tagName": "v%s"
},
"npm": {
"publish": true
},
"github": {
"release": true,
"releaseName": "Nohost %s Released"
}
}
29 changes: 29 additions & 0 deletions dist/nohost-sw.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/nohost-sw.map

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
###
# Dev ENVIRONMENT file
#
# Copy to .env to use defaults when releasing via `npm release`
###

# GitHub Personal Access Token (to push releases)
# https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/
GITHUB_TOKEN=
Loading

0 comments on commit 2699f42

Please sign in to comment.