Skip to content

Commit e7b0806

Browse files
authored
Update RELEASE.md
1 parent 3f75320 commit e7b0806

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

RELEASE.md

+18-3
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ cd pulsar-site
513513
# Run on a branch based on main branch
514514
cd static/charts
515515
# need the chart file temporarily to update the index
516-
wget https://downloads.apache.org/pulsar/helm-chart/${VERSION_WITHOUT_RC}/pulsar-${VERSION_WITHOUT_RC}.tgz
516+
wget https://dist.apache.org/repos/dist/release/pulsar/helm-chart/${VERSION_WITHOUT_RC}/pulsar-${VERSION_WITHOUT_RC}.tgz
517517
# store the license header temporarily
518518
head -n 17 index.yaml > license_header.txt
519519
# update the index
@@ -526,14 +526,29 @@ rm license_header.txt index.yaml.new
526526
rm pulsar-${VERSION_WITHOUT_RC}.tgz
527527
```
528528

529-
Verify that the updated `index.yaml` file has the most recent version. Then run:
529+
Verify that the updated `index.yaml` file has the most recent version.
530+
531+
Wait until the file is available:
532+
533+
```shell
534+
while ! curl -fIL https://downloads.apache.org/pulsar/helm-chart/${VERSION_WITHOUT_RC}/pulsar-${VERSION_WITHOUT_RC}.tgz; do
535+
echo "Waiting for pulsar-${VERSION_WITHOUT_RC}.tgz to become available..."
536+
sleep 10
537+
done
538+
```
539+
540+
Then run:
530541

531542
```shell
532543
git add index.yaml
533544
git commit -m "Adding Pulsar Helm Chart ${VERSION_WITHOUT_RC} to index.yaml"
534545
```
535546

536-
Then open a PR.
547+
Then commit the change.
548+
```
549+
git push origin main
550+
```
551+
537552

538553
## Create release notes for the tag in GitHub UI
539554

0 commit comments

Comments
 (0)