Skip to content

Commit 2c7cbea

Browse files
committed
Remove detailed changelog on release workflow
We need to remove the detailed changelogs functionality during releases since due to the upstream repo updated workflow requires a rebase on this branch and will "confuse" the current implementation.
1 parent 0003250 commit 2c7cbea

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -34,39 +34,12 @@ jobs:
3434
zip -r "../../../${zip_name}" .
3535
echo "zip_name=${zip_name}" >> $GITHUB_OUTPUT
3636
37-
- name: Generate changelog with commit links
38-
id: changelog
39-
run: |
40-
repo_url="https://github.com/${{ github.repository }}"
41-
git fetch --prune --unshallow
42-
previous_tag=$(git tag --sort=-creatordate | head -n 1)
43-
current_sha=$(git rev-parse HEAD)
44-
if [ -z "$previous_tag" ]; then
45-
range=""
46-
compare_url="${repo_url}/commit/${current_sha}"
47-
changelog="Commit changes for [HEAD](${compare_url}):"$'\n'
48-
log_range="HEAD"
49-
else
50-
range="${previous_tag}..${current_sha}"
51-
display_range="${previous_tag}..HEAD"
52-
compare_url="${repo_url}/compare/${previous_tag}...${current_sha}"
53-
changelog="Commit changes for [${display_range}](${compare_url}):"$'\n'
54-
log_range="${previous_tag}..${current_sha}"
55-
fi
56-
while read -r hash message; do
57-
changelog="${changelog}* [${message}](${repo_url}/commit/${hash})"$'\n'
58-
done < <(git log ${log_range} --pretty=format:"%H %s"; echo "")
59-
echo "changelog<<EOF" >> $GITHUB_OUTPUT
60-
echo "$changelog" >> $GITHUB_OUTPUT
61-
echo "EOF" >> $GITHUB_OUTPUT
62-
6337
- name: Create Release and Upload Asset (gh CLI)
6438
env:
6539
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6640
run: |
6741
# Create the release
6842
gh release create "apache-iceberg-monitoring-${{ steps.zip.outputs.release_suffix }}" \
6943
--title "apache-iceberg-monitoring-${{ steps.zip.outputs.release_suffix }}" \
70-
--notes "${{ steps.changelog.outputs.changelog }}" \
7144
--target ${{ github.sha }} \
7245
./${{ steps.zip.outputs.zip_name }}

0 commit comments

Comments
 (0)