@@ -12,21 +12,43 @@ Release candidate versions
12
12
$ ./gradlew clean check
13
13
```
14
14
15
- 3. Tag the head commit with an `X.Y.Z-RCN` tag:
15
+ 3. Update the Java version in the [`release-verify-signatures`
16
+ workflow](https://github.com/Yubico/java-webauthn-server/blob/main/.github/workflows/release-verify-signatures.yml#L42).
17
+
18
+ See the `openjdk version` line of output from `java -version`:
19
+
20
+ ```
21
+ $ java -version # (example output below)
22
+ openjdk version "17.0.7" 2023-04-18
23
+ OpenJDK Runtime Environment (build 17.0.7+7)
24
+ OpenJDK 64-Bit Server VM (build 17.0.7+7, mixed mode)
25
+ ```
26
+
27
+ Given the above output as an example, update the workflow like so:
28
+
29
+ ```yaml
30
+ strategy:
31
+ matrix:
32
+ java: ["17.0.7"]
33
+ ```
34
+
35
+ Commit this change, if any.
36
+
37
+ 4. Tag the head commit with an `X.Y.Z-RCN` tag:
16
38
17
39
```
18
40
$ git tag -a -s 1.4.0-RC1 -m "Pre-release 1.4.0-RC1"
19
41
```
20
42
21
43
No tag body needed.
22
44
23
- 4 . Publish to Sonatype Nexus:
45
+ 5 . Publish to Sonatype Nexus:
24
46
25
47
```
26
48
$ ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
27
49
```
28
50
29
- 5 . Push to GitHub.
51
+ 6 . Push to GitHub.
30
52
31
53
If the pre-release makes significant changes to the project README, such
32
54
that the README does not accurately reflect the latest non-pre-release
@@ -44,16 +66,17 @@ Release candidate versions
44
66
$ git push origin main 1.4.0-RC1
45
67
```
46
68
47
- 6 . Make GitHub release.
69
+ 7 . Make GitHub release.
48
70
49
- - Use the new tag as the release tag
50
- - Check the pre-release checkbox
71
+ - Use the new tag as the release tag.
72
+ - Check the pre-release checkbox.
51
73
- Copy the release notes from `NEWS` into the GitHub release notes; reformat
52
74
from ASCIIdoc to Markdown and remove line wraps. Include only
53
75
changes/additions since the previous release or pre-release.
54
- - Note which JDK version was used to build the artifacts.
76
+ - Note the JDK version shown by `java -version` in step 3.
77
+ For example: `openjdk version "17.0.7" 2023-04-18`.
55
78
56
- 7 . Check that the ["Reproducible binary"
79
+ 8 . Check that the ["Reproducible binary"
57
80
workflow](https://github.com/Yubico/java-webauthn-server/actions/workflows/release-verify-signatures.yml)
58
81
runs and succeeds.
59
82
@@ -91,47 +114,68 @@ Release versions
91
114
92
115
5. Update the version in JavaDoc links in the READMEs.
93
116
94
- 6. Amend these changes into the merge commit:
117
+ 6. Update the Java version in the [`release-verify-signatures`
118
+ workflow](https://github.com/Yubico/java-webauthn-server/blob/main/.github/workflows/release-verify-signatures.yml#L42).
119
+
120
+ See the `openjdk version` line of output from `java -version`:
121
+
122
+ ```
123
+ $ java -version # (example output below)
124
+ openjdk version "17.0.7" 2023-04-18
125
+ OpenJDK Runtime Environment (build 17.0.7+7)
126
+ OpenJDK 64-Bit Server VM (build 17.0.7+7, mixed mode)
127
+ ```
128
+
129
+ Given the above output as an example, update the workflow like so:
130
+
131
+ ```yaml
132
+ strategy:
133
+ matrix:
134
+ java: ["17.0.7"]
135
+ ```
136
+
137
+ 7. Amend these changes into the merge commit:
95
138
96
139
```
97
- $ git add NEWS
140
+ $ git add NEWS README */README .github/workflows/release-verify-signatures.yml
98
141
$ git commit --amend --reset-author
99
142
```
100
143
101
- 7 . Run the tests one more time:
144
+ 8 . Run the tests one more time:
102
145
103
146
```
104
147
$ ./gradlew clean check
105
148
```
106
149
107
- 8 . Tag the merge commit with an `X.Y.Z` tag:
150
+ 9 . Tag the merge commit with an `X.Y.Z` tag:
108
151
109
152
```
110
153
$ git tag -a -s 1.4.0 -m "Release 1.4.0"
111
154
```
112
155
113
156
No tag body needed since that's included in the commit.
114
157
115
- 9 . Publish to Sonatype Nexus:
158
+ 10 . Publish to Sonatype Nexus:
116
159
117
160
```
118
161
$ ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
119
162
```
120
163
121
- 10 . Push to GitHub:
164
+ 11 . Push to GitHub:
122
165
123
166
```
124
167
$ git push origin main 1.4.0
125
168
```
126
169
127
- 11 . Make GitHub release.
170
+ 12 . Make GitHub release.
128
171
129
- - Use the new tag as the release tag
172
+ - Use the new tag as the release tag.
130
173
- Copy the release notes from `NEWS` into the GitHub release notes; reformat
131
174
from ASCIIdoc to Markdown and remove line wraps. Include all changes since
132
175
the previous release (not just changes since the previous pre-release).
133
- - Note which JDK version was used to build the artifacts.
176
+ - Note the JDK version shown by `java -version` in step 6.
177
+ For example: `openjdk version "17.0.7" 2023-04-18`.
134
178
135
- 12 . Check that the ["Reproducible binary"
179
+ 13 . Check that the ["Reproducible binary"
136
180
workflow](https://github.com/Yubico/java-webauthn-server/actions/workflows/release-verify-signatures.yml)
137
181
runs and succeeds.
0 commit comments