Skip to content

Commit 930b5a5

Browse files
committed
add wait for airgap start to build
1 parent 145ba93 commit 930b5a5

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

create-release/dist/index.js

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

create-release/dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/create-release/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ export async function actionCreateRelease() {
6363
if (waitForAirgapBuild == "true") {
6464
if (resolvedChannel.buildAirgapAutomatically) {
6565
try {
66+
// Wait 5 seconds for the airgap build to start
67+
await new Promise(resolve => setTimeout(resolve, 5000));
6668
const status = await pollForAirgapReleaseStatus(apiClient, appSlug, resolvedChannel.id, +release.sequence, "built", timeoutMinutes);
6769
if (status === "built") {
6870
const downloadUrl = await getDownloadUrlAirgapBuildRelease(apiClient, appSlug, resolvedChannel.id, +release.sequence);

0 commit comments

Comments
 (0)