Skip to content

Commit ec67749

Browse files
committed
fix(release workflow): Fix missing release hash suffix
1 parent b5bfad1 commit ec67749

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout code
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@v5
1515

1616
- name: Set up Python
1717
uses: actions/setup-python@v5
@@ -28,6 +28,7 @@ jobs:
2828
id: zip
2929
run: |
3030
commit_hash=$(git rev-parse --short HEAD)
31+
echo "commit_hash=${commit_hash}" >> $GITHUB_OUTPUT
3132
zip_name="apache-iceberg-monitoring-${commit_hash}.zip"
3233
cd .aws-sam/build/IcebergMetricsLambda
3334
zip -r "../../../${zip_name}" .
@@ -59,7 +60,7 @@ jobs:
5960
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6061
with:
6162
tag_name: apache-iceberg-monitoring-${{ github.sha }}
62-
release_name: apache-iceberg-monitoring-${{ github.short_sha }}
63+
release_name: apache-iceberg-monitoring-${{ steps.zip.outputs.commit_hash }}
6364
body: ${{ env.changelog }}
6465
draft: false
6566
prerelease: false

0 commit comments

Comments
 (0)