Skip to content

Commit 6ead2ca

Browse files
committed
chore: cleanup debuging code after fix attempt
1 parent 0071963 commit 6ead2ca

File tree

1 file changed

+7
-20
lines changed

1 file changed

+7
-20
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -18,29 +18,20 @@ jobs:
1818
with:
1919
python-version: '3.x'
2020

21-
# - name: Install AWS SAM CLI
22-
# run: pip install aws-sam-cli
21+
- name: Install AWS SAM CLI
22+
run: pip install aws-sam-cli
2323

24-
# - name: Build with SAM
25-
# run: sam build --use-container
26-
27-
# - name: Zip the contents
28-
# id: zip
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"
33-
# cd .aws-sam/build/IcebergMetricsLambda
34-
# zip -r "../../../${zip_name}" .
35-
# echo "zip_name=${zip_name}" >> $GITHUB_OUTPUT
24+
- name: Build with SAM
25+
run: sam build --use-container
3626

3727
- name: Zip the contents
3828
id: zip
3929
run: |
30+
commit_hash=$(git rev-parse --short HEAD)
31+
echo "commit_hash=${commit_hash}" >> $GITHUB_OUTPUT
4032
zip_name="apache-iceberg-monitoring-${commit_hash}.zip"
41-
mkdir -p .aws-sam/build/IcebergMetricsLambda
4233
cd .aws-sam/build/IcebergMetricsLambda
43-
touch "../../../${zip_name}"
34+
zip -r "../../../${zip_name}" .
4435
echo "zip_name=${zip_name}" >> $GITHUB_OUTPUT
4536
4637
- name: Generate changelog with commit links
@@ -54,14 +45,10 @@ jobs:
5445
else
5546
range="$previous_tag..HEAD"
5647
fi
57-
git log $range --pretty=format:"%H %s"
58-
echo ""
5948
changelog="Commit changes for **$range**:"$'\n'
6049
while read -r hash message; do
6150
changelog="${changelog}* [${message}](${repo_url}/commit/${hash})"$'\n'
62-
echo "processing...$hash $message\n"
6351
done < <(git log $range --pretty=format:"%H %s"; echo "")
64-
echo "changelog: $changelog"
6552
echo "changelog<<EOF" >> $GITHUB_OUTPUT
6653
echo "$changelog" >> $GITHUB_OUTPUT
6754
echo "EOF" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)