File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ ## HowTo create a release build
2+
3+ 1 . Update the dependency version of htmlunit.
4+
5+ 2 . Update the pom version to match htmlunit:
6+
7+ mvn versions:set -DnewVersion=2.28
8+
9+ 4 . Commit&Push the changes
10+
11+ 5 . Deploy to maven central (` clean ` is a must to avoid Eclipse/maven conflicts):
12+
13+ mvn clean deploy
14+
15+ 6 . Log into sonatype nexus - https://oss.sonatype.org/index.html#stagingRepositories
16+ close and release the package
17+
18+ 7 . Deploy the javadoc to gh-pages:
19+
20+ mvn javadoc:javadoc scm-publish:publish-scm
21+
22+ You may need to:
23+
24+ git config --global commit.gpgsign false
25+
26+ 8 . Create version on github
27+ open https://github.com/SeleniumHQ/htmlunit-driver/releases and click 'Draft a new release'
28+ fill the release number and use the same as title
29+ write some notes about the changes done for this release
30+
31+ add the files
32+ * htmlunit-driver-2.xx.x-jar-with-dependencies.jar and
33+ * htmlunit-driver-2.28.5.jar
34+
35+ Publish the release (github will create a tag for you in the background)
36+
37+
38+
39+ 9 . Update the pom to the next snapshot version:
40+
41+ mvn versions:set -DnewVersion=2.29-SNAPSHOT
42+
43+ 10 . Change the ` README.md `
44+
45+ 11 . Commit the new version and then push:
46+
47+ git commit -am "bumping to 2.29-SNAPSHOT"; git push
48+
You can’t perform that action at this time.
0 commit comments