Skip to content

Commit f6ae855

Browse files
authored
Update release-guide.md (#1927)
1 parent eda1a32 commit f6ae855

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

site/content/release-guide.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ gpg --armor --export <YOUR KEY ID HERE> >> KEYS # append public key block
3939
svn commit -m "add key for <YOUR NAME HERE>"
4040
```
4141

42+
To send the key to the Ubuntu key-server, Apache Nexus needs it to validate published artifacts:
43+
```
44+
gpg --keyserver hkps://keyserver.ubuntu.com --send-keys <YOUR KEY ID HERE>
45+
46+
```
47+
4248
### Dist repository
4349

4450
The Apache dist repository (dist.apache.org) is used to populate download.apache.org and archives.apache.org. There are two spaces on dist:
@@ -55,8 +61,8 @@ Apache uses Nexus as Maven repository (repository.apache.org) where releases are
5561
You have to use Apache credentials on Nexus, configured in `~/.gradle/gradle.properties` file using `mavenUser` and `mavenPassword`:
5662

5763
```
58-
mavenUser=yourApacheId
59-
mavenPassword=yourPassword
64+
apacheUsername=yourApacheId
65+
apachePassword=yourPassword
6066
```
6167

6268
Note: an alternative is to use `ORG_GRADLE_PROJECT_apacheUsername` and `ORG_GRADLE_PROJECT_apachePassword` environment variables:
@@ -101,7 +107,7 @@ If it's the first RC for the release, you have to create a release branch:
101107

102108
```
103109
git branch release/x.y.z
104-
git push apache/release/x.y.z
110+
git push apache release/x.y.z
105111
```
106112

107113
Go in the branch, and set the target release version:
@@ -121,7 +127,7 @@ On the release branch, you create a tag for the RC:
121127

122128
```
123129
git tag apache-polaris-x.y.z-rci
124-
git push apache/apache-polaris-x.y.z-rci
130+
git push apache apache-polaris-x.y.z-rci
125131
```
126132

127133
Switch to the tag:
@@ -151,8 +157,7 @@ You can now build the source distribution:
151157
The source distribution archives are available in `build/distribution` folder.
152158

153159
The binary distributions (for convenience) are available in:
154-
* `quarkus/admin/build/distribution`
155-
* `quarkus/server/build/distribution`
160+
* `runtime/distribution/build/distributions`
156161

157162
Now, we can stage the artifacts to dist dev repository:
158163

@@ -161,10 +166,11 @@ svn co https://dist.apache.org/repos/dist/dev/incubator/polaris polaris-dist-dev
161166
cd polaris-dist-dev
162167
mkdir apache-polaris-x.y.z
163168
cp /path/to/polaris/github/clone/repo/build/distribution/* apache-polaris-x.y.z
164-
cp /path/to/polaris/github/clone/repo/quarkus/server/build/distribution/* apache-polaris-x.y.z
165-
cp /path/to/polaris/github/clone/repo/quarkus/admin/build/distribution/* apache-polaris-x.y.z
166-
cp -r /path/to/polaris/gitbub/clone/repo/helm/polaris helm-chart/x.y.z
167-
svn commit
169+
cp /path/to/polaris/github/clone/repo/runtime/distribution/build/distributions/* apache-polaris-x.y.z
170+
cp -r /path/to/polaris/github/clone/repo/helm/polaris helm-chart/x.y.z
171+
svn add apache-polaris-x.y.z
172+
svn add helm-chart/x.y.z
173+
svn commit -m"Stage Apache Polaris x.y.z RCx"
168174
```
169175

170176
### Build and stage Maven artifacts

0 commit comments

Comments
 (0)