Skip to content

Commit 870afb5

Browse files
Update deployment instructions
1 parent 5853774 commit 870afb5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

deployments.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
# Deploying Closure Compiler to NPM
22

33
1. Update the compiler submodule pointer to the tagged release.
4+
* change to the '/compiler' folder
5+
* `git checkout` the correct tag/commit
6+
* change back to the root folder and commit this change
47
2. Update the package version number in `package.json`. The major version should be equal to the compiler version
58
and the minor and patch numbers should be `0`. Example: 20160619.0.0.
9+
3. Run the tests: `npm install && npm test`.
610
3. Commit the changes from steps 1 & 2 and tag the commit.
711
4. Push the changes and tag. If the tests all pass, Travis-CI will automatically publish the new release to the
812
npm registry.

0 commit comments

Comments
 (0)