@@ -6,29 +6,27 @@ Release candidate versions
6
6
7
7
1 . Make sure release notes in ` NEWS ` are up to date.
8
8
9
- 2 . Make sure you're running Gradle in JDK 17.
10
-
11
- 3 . Run the tests one more time:
9
+ 2 . Run the tests one more time:
12
10
13
11
```
14
12
$ ./gradlew clean check
15
13
```
16
14
17
- 4 . Tag the head commit with an `X.Y.Z-RCN` tag:
15
+ 3 . Tag the head commit with an `X.Y.Z-RCN` tag:
18
16
19
17
```
20
18
$ git tag -a -s 1.4.0-RC1 -m "Pre-release 1.4.0-RC1"
21
19
```
22
20
23
21
No tag body needed.
24
22
25
- 5 . Publish to Sonatype Nexus:
23
+ 4 . Publish to Sonatype Nexus:
26
24
27
25
```
28
26
$ ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
29
27
```
30
28
31
- 6 . Push to GitHub.
29
+ 5 . Push to GitHub.
32
30
33
31
If the pre-release makes significant changes to the project README, such
34
32
that the README does not accurately reflect the latest non-pre-release
@@ -46,7 +44,7 @@ Release candidate versions
46
44
$ git push origin main 1.4.0-RC1
47
45
```
48
46
49
- 7 . Make GitHub release.
47
+ 6 . Make GitHub release.
50
48
51
49
- Use the new tag as the release tag
52
50
- Check the pre-release checkbox
@@ -55,7 +53,7 @@ Release candidate versions
55
53
changes/additions since the previous release or pre-release.
56
54
- Note which JDK version was used to build the artifacts.
57
55
58
- 8 . Check that the ["Reproducible binary"
56
+ 7 . Check that the ["Reproducible binary"
59
57
workflow](/Yubico/java-webauthn-server/actions/workflows/release-verify-signatures.yml)
60
58
runs and succeeds.
61
59
@@ -65,9 +63,7 @@ Release versions
65
63
66
64
1. Make sure release notes in `NEWS` are up to date.
67
65
68
- 2. Make sure you're running Gradle in JDK 17.
69
-
70
- 3. Make a no-fast-forward merge from the last (non release candidate) release
66
+ 2. Make a no-fast-forward merge from the last (non release candidate) release
71
67
to the commit to be released:
72
68
73
69
```
@@ -89,53 +85,53 @@ Release versions
89
85
$ git branch -d release-1.4.0
90
86
```
91
87
92
- 4 . Remove the "(unreleased)" tag from `NEWS`.
88
+ 3 . Remove the "(unreleased)" tag from `NEWS`.
93
89
94
- 5 . Update the version in the dependency snippets in the README.
90
+ 4 . Update the version in the dependency snippets in the README.
95
91
96
- 6 . Update the version in JavaDoc links in the READMEs.
92
+ 5 . Update the version in JavaDoc links in the READMEs.
97
93
98
- 7 . Amend these changes into the merge commit:
94
+ 6 . Amend these changes into the merge commit:
99
95
100
96
```
101
97
$ git add NEWS
102
98
$ git commit --amend --reset-author
103
99
```
104
100
105
- 8 . Run the tests one more time:
101
+ 7 . Run the tests one more time:
106
102
107
103
```
108
104
$ ./gradlew clean check
109
105
```
110
106
111
- 9 . Tag the merge commit with an `X.Y.Z` tag:
107
+ 8 . Tag the merge commit with an `X.Y.Z` tag:
112
108
113
109
```
114
110
$ git tag -a -s 1.4.0 -m "Release 1.4.0"
115
111
```
116
112
117
113
No tag body needed since that's included in the commit.
118
114
119
- 10 . Publish to Sonatype Nexus:
115
+ 9 . Publish to Sonatype Nexus:
120
116
121
117
```
122
118
$ ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
123
119
```
124
120
125
- 11 . Push to GitHub:
121
+ 10 . Push to GitHub:
126
122
127
123
```
128
124
$ git push origin main 1.4.0
129
125
```
130
126
131
- 12 . Make GitHub release.
127
+ 11 . Make GitHub release.
132
128
133
129
- Use the new tag as the release tag
134
130
- Copy the release notes from `NEWS` into the GitHub release notes; reformat
135
131
from ASCIIdoc to Markdown and remove line wraps. Include all changes since
136
132
the previous release (not just changes since the previous pre-release).
137
133
- Note which JDK version was used to build the artifacts.
138
134
139
- 13 . Check that the ["Reproducible binary"
135
+ 12 . Check that the ["Reproducible binary"
140
136
workflow](/Yubico/java-webauthn-server/actions/workflows/release-verify-signatures.yml)
141
137
runs and succeeds.
0 commit comments