Skip to content

Commit 5a917b5

Browse files
committed
Prepare for 1.7.14 release
1 parent cf9382f commit 5a917b5

File tree

6 files changed

+1321
-2638
lines changed

6 files changed

+1321
-2638
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,16 @@ Rhino is licensed under the [MPL 2.0](./LICENSE.txt).
2222
<tr><td><a href="https://github.com/mozilla/rhino/releases/tag/Rhino1_7_11_Release">Rhino 1.7.11</a></td><td>May 30, 2019</td></tr>
2323
<tr><td><a href="https://github.com/mozilla/rhino/releases/tag/Rhino1_7_12_Release">Rhino 1.7.12</a></td><td>January 13, 2020</td></tr>
2424
<tr><td><a href="https://github.com/mozilla/rhino/releases/tag/Rhino1_7_13_Release">Rhino 1.7.13</a></td><td>September 2, 2020</td></tr>
25+
<tr><td><a href="https://github.com/mozilla/rhino/releases/tag/Rhino1_7_14_Release">Rhino 1.7.14</a></td><td>January 6, 2022</td></tr>
2526
</table>
2627

2728
[Release Notes](./RELEASE-NOTES.md) for recent releases.
2829

2930
[Compatibility table](https://mozilla.github.io/rhino/compat/engines.html) which shows which advanced JavaScript
3031
features from ES6, and ES2016+ are implemented in Rhino.
3132

33+
[![GitHub Action Status](https://github.com/mozilla/rhino/actions/workflows/gradle.yml/badge.svg)](https://github.com/mozilla/rhino/actions/workflows/gradle.yml)
34+
3235
[![Mozilla](https://circleci.com/gh/mozilla/rhino.svg?style=shield)](https://app.circleci.com/pipelines/github/mozilla/rhino)
3336

3437
## Documentation

RELEASE-NOTES.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Rhino 1.7.14 RC 1
2-
## November 1, 2021
1+
# Rhino 1.7.14
2+
## January 6, 2022
33

44
# Highlights
55
## Features
@@ -73,7 +73,7 @@
7373

7474
## Thanks!
7575

76-
This release contains more than 300 commits from 21 contributors. Thanks to everyone who helped!
76+
This release contains more than 350 commits from 23 contributors. Thanks to everyone who helped!
7777

7878
# Rhino 1.7.13
7979
## September 2, 2020

RELEASE-STEPS.md

+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Rhino Release Process
2+
3+
## Prepare the repository
4+
5+
Update the version in gradle.properties to the new release version.
6+
7+
Update RELEASE_NOTES.md to include at least a summary of the major features
8+
of the release. (This is historical, but many find it helpful to have a single
9+
file in the repo that lists the major changes.)
10+
11+
Update README.md to add a row to the table of releases that points to the
12+
GitHub release that we'll create in the next step (just follow the pattern
13+
that's there).
14+
15+
Now might be a good time to run "./gradlew publishToMavenLocal" and use the
16+
published JARs as a sanity check.
17+
18+
## Update Compatibility Table
19+
20+
The offial Kangax "compat table" now supports Rhino, but it's convenient
21+
to have our own that shows progress across all releases. Here's how to
22+
update it:
23+
24+
git clone -b gh-pages https://github.com/gbrail/node-compat-table.git
25+
cd node-compat-table
26+
27+
Now, edit "rhinoall.sh" to include the new release -- it includes a series
28+
of lines that fetch old releases, and use your local build of the new one.
29+
Then, update the table:
30+
31+
./rhinoall.sh
32+
33+
The resulting "index.html" can be copied into "docs/compat/engines.html" in
34+
this repo.
35+
36+
## Push the Release to GitHub
37+
38+
At this point, the current contents of your directory correspond to the
39+
new release. Prepare a pull request containing the changes, submit it,
40+
and merge it -- the result will be that the head of the "master" branch
41+
will build your new release.
42+
43+
Update to that branch and create a tag for the release, where XX is a number
44+
like "1_7_14":
45+
46+
git pull origin master
47+
git tag Rhino_XX_Release
48+
git push origin Rhino_XX_Release
49+
50+
Now, on the Rhino "Releases" tab in GitHub, create a release that corresponds
51+
to the new tag. Include the following:
52+
53+
* A cut and paste of the part of RELEASE_NOTES.md added for the release
54+
* The three JARs created by "./gradlew.jar"
55+
* The ZIP file created by "./gradlew distZip"
56+
* A ZIP of the source will be included automatically by GitHub
57+
58+
## Push the release to Maven Central
59+
60+
The "Publish to Maven Central" action on GitHub Actions will automatically
61+
build the release, sign the JARs, and push it to oss.sonatype.org in the
62+
"org.mozilla" area. Log in to oss.sonatype.org, verify that all the checks
63+
that happen there were successful, and "close" the release. It will appear
64+
on Maven Central a few hours later.
65+
66+
## Update Homebrew
67+
68+
The Homebrew team for Mac does not necessarily pick up Rhino releases
69+
automatically. It may be necessary to submit a PR to the "homebrew/homebrew"
70+
repo in GitHub for a change to the file "Library/Formula/rhino.rb".
71+
72+
## Prepare for Next Release
73+
74+
Now it's time to move to the next "SNAPSHOT" release. Update gradle.properties,
75+
create a PR, and push the new PR. Now development can proceeed anew!
76+

0 commit comments

Comments
 (0)