@@ -6,35 +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. Wait for the artifacts to become downloadable at
32
- https://repo1.maven.org/maven2/com/yubico/webauthn-server-core/ . This is
33
- needed for one of the GitHub Actions release workflows and usually takes
34
- less than 30 minutes (long before the artifacts become searchable on the
35
- main Maven Central website).
36
-
37
- 7. Push to GitHub.
29
+ 5. Push to GitHub.
38
30
39
31
If the pre-release makes significant changes to the project README, such
40
32
that the README does not accurately reflect the latest non-pre-release
@@ -52,28 +44,26 @@ Release candidate versions
52
44
$ git push origin main 1.4.0-RC1
53
45
```
54
46
55
- 8 . Make GitHub release.
47
+ 6 . Make GitHub release.
56
48
57
49
- Use the new tag as the release tag
58
50
- Check the pre-release checkbox
59
51
- Copy the release notes from `NEWS` into the GitHub release notes; reformat
60
52
from ASCIIdoc to Markdown and remove line wraps. Include only
61
53
changes/additions since the previous release or pre-release.
62
- - Attach the signature files from
63
- `build/dist/webauthn-server-attestation-X.Y.Z-RCN.jar.asc`
64
- and
65
- `build/dist/webauthn-server-core-X.Y.Z-RCN.jar.asc`.
66
54
- Note which JDK version was used to build the artifacts.
67
55
56
+ 7. Check that the ["Reproducible binary"
57
+ workflow](/Yubico/java-webauthn-server/actions/workflows/release-verify-signatures.yml)
58
+ runs and succeeds.
59
+
68
60
69
61
Release versions
70
62
---
71
63
72
64
1. Make sure release notes in `NEWS` are up to date.
73
65
74
- 2. Make sure you're running Gradle in JDK 17.
75
-
76
- 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
77
67
to the commit to be released:
78
68
79
69
```
@@ -95,60 +85,53 @@ Release versions
95
85
$ git branch -d release-1.4.0
96
86
```
97
87
98
- 4 . Remove the "(unreleased)" tag from `NEWS`.
88
+ 3 . Remove the "(unreleased)" tag from `NEWS`.
99
89
100
- 5 . Update the version in the dependency snippets in the README.
90
+ 4 . Update the version in the dependency snippets in the README.
101
91
102
- 6 . Update the version in JavaDoc links in the READMEs.
92
+ 5 . Update the version in JavaDoc links in the READMEs.
103
93
104
- 7 . Amend these changes into the merge commit:
94
+ 6 . Amend these changes into the merge commit:
105
95
106
96
```
107
97
$ git add NEWS
108
98
$ git commit --amend --reset-author
109
99
```
110
100
111
- 8 . Run the tests one more time:
101
+ 7 . Run the tests one more time:
112
102
113
103
```
114
104
$ ./gradlew clean check
115
105
```
116
106
117
- 9 . Tag the merge commit with an `X.Y.Z` tag:
107
+ 8 . Tag the merge commit with an `X.Y.Z` tag:
118
108
119
109
```
120
110
$ git tag -a -s 1.4.0 -m "Release 1.4.0"
121
111
```
122
112
123
113
No tag body needed since that's included in the commit.
124
114
125
- 10 . Publish to Sonatype Nexus:
115
+ 9 . Publish to Sonatype Nexus:
126
116
127
117
```
128
118
$ ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
129
119
```
130
120
131
- 11. Wait for the artifacts to become downloadable at
132
- https://repo1.maven.org/maven2/com/yubico/webauthn-server-core/ . This is
133
- needed for one of the GitHub Actions release workflows and usually takes
134
- less than 30 minutes (long before the artifacts become searchable on the
135
- main Maven Central website).
136
-
137
- 12. Push to GitHub:
121
+ 10. Push to GitHub:
138
122
139
123
```
140
124
$ git push origin main 1.4.0
141
125
```
142
126
143
- 13 . Make GitHub release.
127
+ 11 . Make GitHub release.
144
128
145
129
- Use the new tag as the release tag
146
130
- Copy the release notes from `NEWS` into the GitHub release notes; reformat
147
131
from ASCIIdoc to Markdown and remove line wraps. Include all changes since
148
132
the previous release (not just changes since the previous pre-release).
149
- - Attach the signature files from
150
- `build/dist/webauthn-server-attestation-X.Y.Z.jar.asc`
151
- and
152
- `build/dist/webauthn-server-core-X.Y.Z.jar.asc`.
153
-
154
133
- Note which JDK version was used to build the artifacts.
134
+
135
+ 12. Check that the ["Reproducible binary"
136
+ workflow](/Yubico/java-webauthn-server/actions/workflows/release-verify-signatures.yml)
137
+ runs and succeeds.
0 commit comments