From 132e3ec3e3485db0d00c89c77fd395ea3cca541a Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Wed, 20 Dec 2023 17:13:32 -0500 Subject: [PATCH] Add a sleep before canary release as a workaround --- .github/workflows/release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5a643810..f9fed7a9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -64,6 +64,11 @@ jobs: latest_release=$(awk 'BEGIN { RS="## \\[" } NR==2 { print "## ["$0 }' CHANGELOG.md) echo -e "\n$latest_release" >> docs/canary-changelog.md + # A bug in gh cli causes the release to be created as a draft, and not released. + # See https://github.com/cli/cli/issues/8458 + - name: Wait 10 seconds + run: sleep 10 + - name: Create Canary release run: gh release create canary ./release/playlet.zip ./release/playlet-lib.zip --notes-file docs/canary-changelog.md --prerelease --title Canary env: