Skip to content

Commit

Permalink
update docs for 3.0.0 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
Morgul committed Dec 11, 2017
1 parent a4306f5 commit 6c74952
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 43 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ module.exports = function(grunt) {
//We use %version% and evaluate it at run-time, because <%= pkg.version %>
//is only evaluated once
'release-prepare': [
'cp ./dist/ui-bootstrap* docs',
'git add docs',
],
'release-complete': [
Expand Down Expand Up @@ -548,6 +547,7 @@ module.exports = function(grunt) {
grunt.task.run([
'conventionalChangelog',
'build',
'copy',
'shell:release-prepare',
'shell:release-complete',
'shell:publish'
Expand Down
20 changes: 6 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,19 +197,11 @@ We are always looking for the quality contributions! Please check the [CONTRIBUT

## Building a Release

To build a release, change `package.json` to have the right version number, do `grunt build`, delete everything except
for:
I've currently hacked out a solution, but the whole thing's very messy. For now, to build a release, just do:

* `ui-bootstrap-[VERSION].js`
* `ui-bootstrap-[VERSION]-csp.css`
* `ui-bootstrap-tpls-[VERSION].js`

These files get renamed to remove the `[VERSION]` piece:

* `ui-bootstrap-[VERSION].js` => `ui-bootstrap.js`
* `ui-bootstrap-[VERSION]-csp.css` => `ui-bootstrap-csp.css`
* `ui-bootstrap-tpls-[VERSION].js` => `ui-bootstrap-tpls.js`

Now run `npm publish`.
```
$ grunt release:3.0.0
```

_TODO: Something about updating docs?_
(Obviously, replace `3.0.0` with the version you're releasing.) That should build a correct release, and update the
docs, and everything.
2 changes: 1 addition & 1 deletion docs/assets/raw-files.json

Large diffs are not rendered by default.

Loading

0 comments on commit 6c74952

Please sign in to comment.