Skip to content

Commit

Permalink
Sleep 30 seconds after creating release
Browse files Browse the repository at this point in the history
  • Loading branch information
olljanat committed Jul 24, 2022
1 parent 173292b commit 4d6fa1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/release
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ echo "#!/bin/sh"> dist/publish.sh

if [ "${KERNEL_ARCH}" == "x86" ]; then
echo "github-release release --user burmilla --repo os-kernel --tag v${KERNEL_VERSION} --pre-release" >> dist/publish.sh
echo "echo Waiting 30 seconds after release creation to make sure that GitHub is ready for uploads" >> dist/publish.sh
echo "sleep 30s" >> dist/publish.sh
fi
echo "github-release upload --user burmilla --repo os-kernel --tag v${KERNEL_VERSION} --file ./dist/kernel/build-linux-${KERNEL_VERSION}-${KERNEL_ARCH}.tar.gz --name build-linux-${KERNEL_VERSION}-${KERNEL_ARCH}.tar.gz" >> dist/publish.sh
echo "github-release upload --user burmilla --repo os-kernel --tag v${KERNEL_VERSION} --file ./dist/kernel/extra-linux-${KERNEL_VERSION}-${KERNEL_ARCH}.tar.gz --name extra-linux-${KERNEL_VERSION}-${KERNEL_ARCH}.tar.gz" >> dist/publish.sh
Expand Down

0 comments on commit 4d6fa1b

Please sign in to comment.