Skip to content

Commit 5db1131

Browse files
authored
Document release process
1 parent e76ad60 commit 5db1131

1 file changed

Lines changed: 81 additions & 1 deletion

File tree

README.md

Lines changed: 81 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,96 @@
11
Test NG: [![][Maven Central TestNG img]][Maven Central TestNG]
2+
23
JUnit: [![][Maven Central JUnit img]][Maven Central JUnit]
34

5+
6+
47
This project provides a simple and intuitive API for functional testing of Swing user interfaces, resulting in tests
8+
59
that are compact, easy to write, and read like a specification. Tests written using AssertJ Swing are also robust.
10+
611
AssertJ Swing simulates actual user gestures at the operating system level, ensuring that the application will behave correctly in
12+
713
front of the user. It also provides a reliable mechanism for GUI component lookup that ensures that changes in the GUI's
14+
815
layout or look-and-feel will not break your tests.
916

10-
This project is fork of https://github.com/alexruiz/fest-swing-1.x.
17+
18+
19+
This project is a fork of https://github.com/alexruiz/fest-swing-1.x.
20+
21+
1122

1223
[Maven Central TestNG]:https://maven-badges.herokuapp.com/maven-central/org.assertj/assertj-swing-testng
24+
1325
[Maven Central TestNG img]:https://maven-badges.herokuapp.com/maven-central/org.assertj/assertj-swing-testng/badge.svg
1426

27+
28+
1529
[Maven Central JUnit]:https://maven-badges.herokuapp.com/maven-central/org.assertj/assertj-swing-junit
30+
1631
[Maven Central JUnit img]:https://maven-badges.herokuapp.com/maven-central/org.assertj/assertj-swing-junit/badge.svg
32+
33+
34+
35+
# How to release
36+
37+
38+
39+
1. Preconditions: You need ssh setup for being able to push to [joel-costigliola/assertj-swing](), gpg setup for signing the release and ossrh setup in Maven for being able to publish the release, including the right to publish assertj-swing releases.
40+
41+
2. Make sure you have the latest sources: `git pull`
42+
43+
3. Make sure you have a clean release base: `mvn release:clean`
44+
45+
4. Prepare the release: `mvn release:prepare`
46+
47+
5. Actually publish the release: `mvn release:perform`
48+
49+
6. Sign in to github, click the tag, edit it and click *publish* (optionally insert change log here)
50+
51+
7. Download updated [JIDE](https://jidesoft.com/evaluation/) (*Password required. Click here to see the password. Please note, it's not your forum user name and password*)
52+
53+
8. Create temporary work space: `mkdir /tmp/jide` and cd `/tmp/jide`
54+
55+
9. Unzip JIDE: `unzip ~/Downloads/jide.X.Y.Z.eval.zip`
56+
57+
10. `cd maven/`
58+
59+
11. Follow the readme:
60+
61+
12. Download [ant-contrib](https://downloads.sourceforge.net/project/ant-contrib/ant-contrib/1.0b3) and copy jar file to current directory
62+
63+
13. Download [Apache common bean script](https://commons.apache.org/proper/commons-bsf/download_bsf.cgi) and copy jar file to current directory
64+
65+
14. Download [Mozilla Rhino](https://github.com/downloads/mozilla/rhino/rhino1_7R4.zip) and copy jar file to current directory
66+
67+
15. Download [Commons logging](https://commons.apache.org/proper/commons-logging/download_logging.cgi) and copy jar file to current directory
68+
69+
16. Mavenify: `ant -f mavenify.xml -lib .`
70+
71+
17. Integrate resulting maven repo into own maven repos: `rsync -a repo/ ~/.m2/repository/`
72+
73+
18. Go to `assertj-swing/assertj-swing-jide/pom.xml` and enter downloaded version: `<jide.version>X.Y.Z</jide.version>`
74+
75+
19. __Update parent POM (AssertJ Swing) version__ to currently (see 5.) released version
76+
77+
20. Fix potentially broken code - use `mvn clean verify -f assertj-swing-jide/pom.xml` to verify
78+
79+
21. Update POM version, commit and push changes
80+
81+
22. Release assertj-swing-jide:
82+
83+
23. `cd assertj-swing-jide`
84+
85+
24. Clean state: `mvn release:clean`
86+
87+
25. Preapre: `mvn release:prepare`
88+
89+
26. Perform: `mvn release:perform`
90+
91+
27. Update documentation - pull [assertj/doc]()
92+
93+
28. Update at least `src/docs/asciidoc/user-guide/assertj-swing-release-notes.adoc`
94+
95+
29. File PR for documentation update. __Finished!__
96+

0 commit comments

Comments
 (0)