Skip to content

Commit 6c74952

Browse files
committed
update docs for 3.0.0 release.
1 parent a4306f5 commit 6c74952

File tree

5 files changed

+35
-43
lines changed

5 files changed

+35
-43
lines changed

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ module.exports = function(grunt) {
186186
//We use %version% and evaluate it at run-time, because <%= pkg.version %>
187187
//is only evaluated once
188188
'release-prepare': [
189-
'cp ./dist/ui-bootstrap* docs',
190189
'git add docs',
191190
],
192191
'release-complete': [
@@ -548,6 +547,7 @@ module.exports = function(grunt) {
548547
grunt.task.run([
549548
'conventionalChangelog',
550549
'build',
550+
'copy',
551551
'shell:release-prepare',
552552
'shell:release-complete',
553553
'shell:publish'

README.md

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -197,19 +197,11 @@ We are always looking for the quality contributions! Please check the [CONTRIBUT
197197

198198
## Building a Release
199199

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

203-
* `ui-bootstrap-[VERSION].js`
204-
* `ui-bootstrap-[VERSION]-csp.css`
205-
* `ui-bootstrap-tpls-[VERSION].js`
206-
207-
These files get renamed to remove the `[VERSION]` piece:
208-
209-
* `ui-bootstrap-[VERSION].js` => `ui-bootstrap.js`
210-
* `ui-bootstrap-[VERSION]-csp.css` => `ui-bootstrap-csp.css`
211-
* `ui-bootstrap-tpls-[VERSION].js` => `ui-bootstrap-tpls.js`
212-
213-
Now run `npm publish`.
202+
```
203+
$ grunt release:3.0.0
204+
```
214205

215-
_TODO: Something about updating docs?_
206+
(Obviously, replace `3.0.0` with the version you're releasing.) That should build a correct release, and update the
207+
docs, and everything.

docs/assets/raw-files.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)