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 2727 - name : Zip the contents
2828 id : zip
2929 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"
3333 cd .aws-sam/build/IcebergMetricsLambda
3434 zip -r "../../../${zip_name}" .
3535 echo "zip_name=${zip_name}" >> $GITHUB_OUTPUT
5858 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5959 run : |
6060 # 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 }}" \
6363 --notes "${{ steps.changelog.outputs.changelog }}" \
6464 --target ${{ github.sha }} \
6565 ./${{ steps.zip.outputs.zip_name }}
You can’t perform that action at this time.
0 commit comments