Skip to content

Commit

Permalink
apacheGH-44558: [Release][Website] Remove needless "Apache Arrow ${VE…
Browse files Browse the repository at this point in the history
…RSION}" section (apache#44559)

### Rationale for this change

`dev/release/post-04-website.sh` generates wrong section levels:

```markdown
...
## Changelog
## Apache Arrow 18.0.0 (2024-10-28 07:00:00+00:00)
...
### Bug Fixes
...
### New Features and Improvements
...
```

### What changes are included in this PR?

Remove the `## Apache Arrow ${VERSION}` section:

```markdown
...
## Changelog
...
### Bug Fixes
...
### New Features and Improvements
...
```

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* GitHub Issue: apache#44558

Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Raúl Cumplido <[email protected]>
  • Loading branch information
kou authored Oct 30, 2024
1 parent 4c36f12 commit fa7e0b4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dev/release/post-04-website.sh
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,11 @@ cat <<ANNOUNCE >> "${announce_file}"
ANNOUNCE

# Remove the "# Apache Arrow ..." line and increment section level
# of "## Bug Fixes"/"## New Features and Improvements" to "### ...".
archery release changelog generate ${version} | \
sed -e 's/^#/##/g' >> "${announce_file}"
sed -e '/^# /d' \
-e 's/^#/##/g' >> "${announce_file}"

cat <<ANNOUNCE >> "${announce_file}"
[1]: https://www.apache.org/dyn/closer.lua/arrow/arrow-${version}/
Expand Down

0 comments on commit fa7e0b4

Please sign in to comment.