Skip to content

Commit

Permalink
prepare 2.39.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rbri committed Apr 5, 2020
1 parent dc05cdb commit e8903bd
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 18 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ It is typically used for testing purposes or to retrieve information from web si
### Project News
[HtmlUnit@Twitter][3]

### Latest release Version 2.38.0 / March 8, 2020
### Latest release Version 2.39.0 / April 5, 2020
[Download from Sourceforge][1]

For maven, you would add:

<dependency>
<groupId>net.sourceforge.htmlunit</groupId>
<artifactId>htmlunit</artifactId>
<version>2.38.0</version>
<version>2.39.0</version>
</dependency>

### Latest CI build
Expand All @@ -32,7 +32,7 @@ If you use maven please add:
<dependency>
<groupId>net.sourceforge.htmlunit</groupId>
<artifactId>htmlunit</artifactId>
<version>2.38.0-SNAPSHOT</version>
<version>2.40.0-SNAPSHOT</version>
</dependency>

You have to add the sonatype snapshot repository to your pom distributionManagement section also:
Expand Down Expand Up @@ -65,7 +65,7 @@ You have to add the sonatype snapshot repository to your pom distributionManagem
This project is licensed under the Apache 2.0 License


[1]: https://sourceforge.net/projects/htmlunit/files/htmlunit/2.38.0/ "HtmlUnit on sourceforge"
[1]: https://sourceforge.net/projects/htmlunit/files/htmlunit/2.39.0/ "HtmlUnit on sourceforge"
[2]: https://jenkins.wetator.org/job/HtmlUnit/ "HtmlUnit CI"
[3]: https://twitter.com/HtmlUnit "https://twitter.com/HtmlUnit"
[4]: http://htmlunit.sourceforge.net/ "http://htmlunit.sourceforge.net/"
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>net.sourceforge.htmlunit</groupId>
<artifactId>htmlunit</artifactId>
<version>2.39.0-SNAPSHOT</version>
<version>2.39.0</version>
<name>HtmlUnit</name>
<organization>
<name>Gargoyle Software Inc.</name>
Expand All @@ -23,7 +23,7 @@
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>

<htmlunitdriver.version>2.39.0-SNAPSHOT</htmlunitdriver.version>
<htmlunitdriver.version>2.39.0</htmlunitdriver.version>
<htmlunitcssparser.version>1.5.0</htmlunitcssparser.version>
<htmlunitneko.version>2.39.0</htmlunitneko.version>
<htmlunitcorejs.version>2.39.0</htmlunitcorejs.version>
Expand Down
2 changes: 1 addition & 1 deletion src/changes/changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</properties>

<body>
<release version="2.39.0" date="xxxx, 2020" description="Bugfixes, Firefox74">
<release version="2.39.0" date="April 5, 2020" description="Bugfixes, Firefox74">
<action type="fix" dev="rbri">
Neko: fix encoding of blanks in file uri's.
</action>
Expand Down
4 changes: 2 additions & 2 deletions src/site/xdoc/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@
<section name="Where to find...">
<p>
<dl>
<dt>Latest release <date>January 28, 2020</date></dt>
<dt>Latest release <date>April 5, 2020</date></dt>
<dd>
<p><a href="https://sourceforge.net/projects/htmlunit/files/htmlunit/2.38.0/">version 2.38.0</a></p>
<p><a href="https://sourceforge.net/projects/htmlunit/files/htmlunit/2.39.0/">version 2.39.0</a></p>
</dd>

<dt>Source code</dt>
Expand Down
45 changes: 36 additions & 9 deletions src/site/xdoc/packagingARelease.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,24 @@ mvn clean deploy -Dmaven.test.skip=true
</ol>
</p>
<p>
Now do this for each release:
Do this for each release:
<ol>
<li>
Update maven to latest version, and delete ~/.m2/repository folder.
</li>
<li>
Because of the circular dependency to the HtmlUnitDriver you have to create a local release
of the driver first.
<ol>
<li>
Update the version number in pom.xml
</li>
<li>
Build the release and store it in the local repository
<source>mvn -up clean install -Dmaven.test.skip=true</source>
</li>
</ol>
</li>
<li>
Update the version number in pom.xml
</li>
Expand All @@ -76,6 +89,9 @@ mvn clean deploy -Dmaven.test.skip=true
<li>
Update the release date in src/changes/changes.xml
</li>
<li>
Update the version number, release date, and maven dependency in README.md
</li>
<li>
Remove pom.xml reference to any snapshot repository (needed for Maven upload request).
</li>
Expand All @@ -89,19 +105,30 @@ mvn clean deploy -Dmaven.test.skip=true
and make sure the binary file is the default download for all platforms.
</li>
<li>
Make sure everything is checked in and tag the release:
<source>
mvn scm:tag
</source>
Make sure everything is checked in.
</li>
<li>
Ensure HtmlUnit-related dependencies are 'tagged' in the repository.
</li>
<li>Deploy the release to Sonatype OSS Maven repository.
<source>
mvn deploy -Dmaven.test.skip=true
</source>
and then go to <a href="https://oss.sonatype.org/index.html#stagingRepositories" target="_blank">Sonatype OSS staging repository</a> to close and release the artifacts.
<source>mvn deploy -Dmaven.test.skip=true</source>
and then go to <a href="https://oss.sonatype.org/index.html#stagingRepositories" target="_blank">Sonatype OSS staging repository</a>
to close and release the artifacts.
</li>
<li>Create the version on Github
<ol>
<li>login to Github and open project <a href="https://github.com/HtmlUnit/htmlunit">https://github.com/HtmlUnit/htmlunit</a></li>
<li>click Releases > Draft new release</li>
<li>fill the tag and title field with the release number (e.g. 1.1.0)</li>
<li>append
<ull>
<li>login to Github and open project <a href="https://github.com/HtmlUnit/htmlunit">https://github.com/HtmlUnit/htmlunit</a></li>
<li>click Releases > Draft new release</li>
<li>fill the tag and title field with the release number (e.g. 1.1.0)</li>
</ull>
</li>
<li>publish the release</li>
</ol>
</li>
<li>
Create a shell to shell.sourceforge.net with your username and project group
Expand Down

0 comments on commit e8903bd

Please sign in to comment.