Revisit release process
This commit is contained in:
parent
a7247b6edb
commit
7f84d6e966
17
RELEASE.md
17
RELEASE.md
@ -135,21 +135,20 @@ official Apache releases must not include the rcN suffix.
|
|||||||
- Move the artifacts to ASF dev dist repo, generate convenience `index.yaml` & publish them
|
- Move the artifacts to ASF dev dist repo, generate convenience `index.yaml` & publish them
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
# First clone the repo
|
APACHE_USER=<your ASF userid>
|
||||||
svn checkout https://dist.apache.org/repos/dist/dev/pulsar pulsar-dist-dev
|
|
||||||
|
|
||||||
# Create new folder for the release
|
# Create new folder for the release
|
||||||
cd pulsar-dist-dev/helm-chart
|
svn mkdir --username $APACHE_USER -m "Add directory for pulsar-helm-chart $VERSION release" https://dist.apache.org/repos/dist/dev/pulsar/helm-chart/$VERSION
|
||||||
svn mkdir ${VERSION}
|
# checkout the directory
|
||||||
|
svn co --username $APACHE_USER https://dist.apache.org/repos/dist/dev/pulsar/helm-chart/$VERSION helm-chart-$VERSION
|
||||||
|
|
||||||
# Move the artifacts to svn folder
|
# Move the artifacts to svn folder
|
||||||
mv ${PULSAR_REPO_ROOT}/pulsar-${VERSION_WITHOUT_RC}.tgz* ${VERSION}/
|
mv ${PULSAR_REPO_ROOT}/pulsar-${VERSION_WITHOUT_RC}.tgz* helm-chart-${VERSION}/
|
||||||
mv ${PULSAR_REPO_ROOT}/pulsar-chart-${VERSION_WITHOUT_RC}-source.tar.gz* ${VERSION}/
|
mv ${PULSAR_REPO_ROOT}/pulsar-chart-${VERSION_WITHOUT_RC}-source.tar.gz* helm-chart-${VERSION}/
|
||||||
cd ${VERSION}
|
cd helm-chart-${VERSION}/
|
||||||
|
|
||||||
###### Generate index.yaml file - Start
|
###### Generate index.yaml file - Start
|
||||||
# Download the latest index.yaml on Pulsar Website
|
# Download the latest index.yaml on Pulsar Website
|
||||||
curl https://dist.apache.org/repos/dist/release/pulsar/helm-chart/index.yaml --output index.yaml
|
curl https://pulsar.apache.org/charts/index.yaml --output index.yaml
|
||||||
|
|
||||||
# Replace the URLs from "https://downloads.apache.org" to "https://archive.apache.org"
|
# Replace the URLs from "https://downloads.apache.org" to "https://archive.apache.org"
|
||||||
# as the downloads.apache.org only contains latest releases.
|
# as the downloads.apache.org only contains latest releases.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user