Document latest alias and zip task
+4
-2
@@ -92,7 +92,9 @@ Publish the release artifacts (examples and source) on the website. In a workin
|
||||
npm install
|
||||
|
||||
# publish
|
||||
treeish=v3.1.0 npm run deploy
|
||||
treeish=latest npm run deploy
|
||||
|
||||
(Note that the `latest` alias above will deploy the version specified in `package.json`.)
|
||||
|
||||
If you run into ```Warning: ENFILE: file table overflow``` check out http://superuser.com/questions/433746/is-there-a-fix-for-the-too-many-open-files-in-system-error-on-os-x-10-7-1
|
||||
|
||||
@@ -107,7 +109,7 @@ It is also a good idea to update the `master`-variant of the website, you just h
|
||||
|
||||
Create an archive from the artifacts created by the `npm run deploy` step above. This includes the documentation and source.
|
||||
|
||||
treeish=v3.1.0 node_modules/.bin/grunt zip
|
||||
treeish=latest npm run zip
|
||||
|
||||
Note: we do not rely on the archive created by GitHub because it only contains the source code. Our archive includes the ol builds, the hosted examples, the generated API docs, etc.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user