You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 29, 2024. It is now read-only.
Also added the ability to run `generate-docs.sh` against a custom
branch/tag/commit by doing `./scripts/generate-docs.sh branch_name`. Still
defaults to the version from package.json though.
Also updated release.md to tell people to check that doc generation/the website
is working BEFORE doing a release. Needing a change in the codebase is more
likely now that we're compiling down to es5 only this one time, and ideally
any changes to the codebase would happen before release.
Also including a minor change in the codebase where we wrap a promise from
blocking proxy in a webdriver promise. This probably should have been done the
whole time, but is unlikely to matter either way at runtime, since blocking
proxy wouldn't be returning a webdriver promise regardless. Mostly did I did
this to fix typechecking.
Copy file name to clipboardExpand all lines: release.md
+6-3
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,11 @@ Say the previous release was 0.0.J, the current release is 0.0.K, and the next r
17
17
18
18
- Make sure .gitignore and .npmignore are updated with any new files that need to be ignored.
19
19
20
+
- Make sure that the website and doc generation still work. Doing so now, before you update the package.json or CHANGELOG.md, will save you a big headache.
21
+
- Run `./scripts/generate-docs.sh HEAD` to generate the docs against the current commit.
22
+
- We have to compile down to es5 to get dgeni to work. `generate-docs.sh` can handle some of this but you may have to make minor changes to the codebase/build infrastructure.
23
+
- Run the unit and e2e tests for the website.
24
+
20
25
- Update package.json with a version bump. If the changes are only bug fixes, increment the patch (e.g. 0.0.5 -> 0.0.6), otherwise increment the minor version.
21
26
22
27
- Update CHANGELOG.md.
@@ -41,9 +46,7 @@ Say the previous release was 0.0.J, the current release is 0.0.K, and the next r
41
46
42
47
- NPM publish
43
48
44
-
- Update the website. `./scripts/generate-docs.sh`. Run unit and e2e tests. Then switch to the
45
-
`gh-pages` branch, edit the commit message with `git commit --amend`,
46
-
and push the new website.
49
+
- Update the website. Run `./scripts/generate-docs.sh`, then switch to the `gh-pages` branch, edit the commit message with `git commit --amend`, and push the new website.
0 commit comments