Skip to content

Commit d64077a

Browse files
committed
Fix release workflow timing and JitPack trigger
- Add 30-second wait for tag propagation before triggering JitPack - Improve JitPack trigger response handling with status messages - Ensure tags are available before JitPack attempts to build
1 parent 7df1b86 commit d64077a

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,16 @@ jobs:
143143
draft: false
144144
prerelease: false
145145

146+
- name: Wait for tag propagation
147+
run: sleep 30
148+
146149
- name: Trigger JitPack build
147150
run: |
148-
curl -s "https://jitpack.io/com/github/wassertim/dynamodb-toolkit/v$NEW_VERSION"
151+
echo "Triggering JitPack build for v$NEW_VERSION"
152+
response=$(curl -s "https://jitpack.io/com/github/wassertim/dynamodb-toolkit/v$NEW_VERSION")
153+
echo "JitPack response: $response"
154+
if [[ "$response" == *"Build started"* ]] || [[ "$response" == *"OK"* ]]; then
155+
echo "✅ JitPack build triggered successfully"
156+
else
157+
echo "⚠️ JitPack build may have failed, check https://jitpack.io/#wassertim/dynamodb-toolkit"
158+
fi

0 commit comments

Comments
 (0)