Skip to content

Commit

Permalink
Don't check in built files on master
Browse files Browse the repository at this point in the history
(closes #26)
  • Loading branch information
bhousel committed Mar 19, 2018
1 parent d69e783 commit 9f1a3a2
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 508 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/.nyc_output/
/coverage/
/node_modules/
/dist/*.js
/dist/*.json

.DS_Store
npm-debug.log
17 changes: 12 additions & 5 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
## Release Checklist

#### Update version, docs, tag, and publish
### Update master branch
- [ ] git checkout master
- [ ] npm install
- [ ] Update CHANGELOG
- [ ] npm run test
- [ ] Update version number in `package.json`
- [ ] git add .
- [ ] git commit -m 'vA.B.C'
- [ ] git add . && git commit -m 'vA.B.C'
- [ ] git push origin master

### Update release branch, tag and publish
- [ ] git checkout release
- [ ] git reset --hard master
- [ ] npm run build
- [ ] git add -f dist/*
- [ ] git commit -m 'Check in build'
- [ ] git tag vA.B.C
- [ ] git push origin master vA.B.C
- [ ] git push origin -f release vA.B.C
- [ ] npm publish
2 changes: 1 addition & 1 deletion build.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function buildAll() {
console.time(colors.green('data built'));

// Start clean
shell.rm('-f', ['dist/*', 'i18n/en.yaml']);
shell.rm('-f', ['dist/*.json', 'dist/*.js', 'i18n/en.yaml']);

var tstrings = {}; // translation strings
var features = generateFeatures();
Expand Down
Empty file added dist/.gitkeep
Empty file.
Loading

0 comments on commit 9f1a3a2

Please sign in to comment.