Skip to content

Commit 80cff1f

Browse files
try to wait
1 parent 46bf415 commit 80cff1f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

scripts/release.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ git tag $VERSION -m "Release $VERSION"
4040
git push origin main
4141
git push origin $VERSION
4242

43+
# Wait for tag to be available on GitHub
44+
echo "Waiting for tag to be available on GitHub..."
45+
sleep 2
46+
gh api repos/CodSpeedHQ/codspeed-cpp/git/ref/tags/$VERSION > /dev/null 2>&1 || {
47+
echo "Tag $VERSION not found on GitHub. Waiting a bit longer..."
48+
sleep 3
49+
}
50+
4351
# Create tarball with submodules included
4452
echo "Creating release tarball with submodules..."
4553
TMPDIR=$(mktemp -d)

0 commit comments

Comments
 (0)