File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 27
27
- name : Zip the contents
28
28
id : zip
29
29
run : |
30
- commit_hash =$(git rev-parse --short HEAD )
31
- echo "commit_hash =${commit_hash }" >> $GITHUB_OUTPUT
32
- zip_name="apache-iceberg-monitoring-${commit_hash }.zip"
30
+ release_suffix =$(date -u +"%Y%m%d%H%M" )
31
+ echo "release_suffix =${release_suffix }" >> $GITHUB_OUTPUT
32
+ zip_name="apache-iceberg-monitoring-${release_suffix }.zip"
33
33
cd .aws-sam/build/IcebergMetricsLambda
34
34
zip -r "../../../${zip_name}" .
35
35
echo "zip_name=${zip_name}" >> $GITHUB_OUTPUT
58
58
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
59
59
run : |
60
60
# Create the release
61
- gh release create "apache-iceberg-monitoring-${{ steps.zip.outputs.commit_hash }}" \
62
- --title "apache-iceberg-monitoring-${{ steps.zip.outputs.commit_hash }}" \
61
+ gh release create "apache-iceberg-monitoring-${{ steps.zip.outputs.release_suffix }}" \
62
+ --title "apache-iceberg-monitoring-${{ steps.zip.outputs.release_suffix }}" \
63
63
--notes "${{ steps.changelog.outputs.changelog }}" \
64
64
--target ${{ github.sha }} \
65
65
./${{ steps.zip.outputs.zip_name }}
You can’t perform that action at this time.
0 commit comments