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
Copy file name to clipboardExpand all lines: README.md
+34-7Lines changed: 34 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -33,19 +33,46 @@ mvn compile
33
33
mvn test
34
34
```
35
35
36
-
## Deployment
37
-
38
-
TODO
39
-
40
36
## Contributing
41
37
42
38
TODO
43
39
Please read [CONTRIBUTING.md](https://gist.github.com/PurpleBooth/b24679402957c63ec426) for details on our code of conduct, and the process for submitting pull requests to us.
44
40
45
-
## Versioning
41
+
## Deployment and Versioning
46
42
47
-
TODO
48
-
We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/your/project/tags).
43
+
This part is intended for committers who are packaging a release.
44
+
45
+
* Check all your files are checked in
46
+
* Execute "mvn clean test" to be sure all tests are passing
47
+
* Update the version number in pom.xml
48
+
* Update the release date in src/changes/changes.xml
49
+
* Execute "mvn clean test" to be sure all tests are passing
50
+
* Commit the changes
51
+
52
+
53
+
* Build and deploy the artifacts
54
+
55
+
```
56
+
mvn -up clean deploy
57
+
```
58
+
59
+
* Go to [Sonatype staging repositories](https://oss.sonatype.org/index.html#stagingRepositories) and process the deploy
60
+
- select the repository and close it - wait until the close is processed
61
+
- release the package and wait until it is processed
62
+
63
+
* Create the version on Github
64
+
* login to Github and open project https://github.com/HtmlUnit/htmlunit-cssparser
65
+
* click Releases > Draft new release
66
+
* fill the tag and title field with the release number (e.g. 1.1.0)
67
+
* append
68
+
* htmlunit-cssparser-1.x.x.jar
69
+
* htmlunit-cssparser-1.x.x.jar.asc
70
+
* htmlunit-cssparser-1.x.x-javadoc.jar
71
+
* htmlunit-cssparser-1.x.x-javadoc.jar.asc
72
+
* and publish the release
73
+
74
+
* Update the version number in pom.xml to start next snapshot development
0 commit comments