Skip to content

Commit

Permalink
enable deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
paulcarroty authored Apr 11, 2024
1 parent 19a9ae8 commit 7edd9c7
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions format_bump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ mixer bundle add `ls /mixer/local-bundles`
# also commend `mixer build all`, `mixer build delta-packs`, `mixer build delta-manifests`
# two releases will be generated: +10 and +20, keep the latter in `!($RELEASE|version|xxxxx)`
# mixer build upstream-format --new-format 31
# export RELEASE=`cat mixversion`

# Build the bundles and generate the update content
mixer build upstream-format
Expand All @@ -77,17 +76,17 @@ tar --zstd -cf /home/image-$RELEASE.tar.zst /tmp/repo/image
tar cf /home/packages-$RELEASE.tar /home/packages

# Deploy to GH releases
#cd /home
#hub release create -m v$RELEASE $RELEASE || { echo "Fatal: tag already exists"; exit 1; }
#for i in {1..10}; do
# hub release edit $RELEASE -m v$RELEASE -a repo-$RELEASE.tar -a mixer-$RELEASE.tar -a packages-$RELEASE.tar -a image-$RELEASE.tar.zst && break
# sleep 100
#done
cd /home
hub release create -m v$RELEASE $RELEASE || { echo "Fatal: tag already exists"; exit 1; }
for i in {1..10}; do
hub release edit $RELEASE -m v$RELEASE -a repo-$RELEASE.tar -a mixer-$RELEASE.tar -a packages-$RELEASE.tar -a image-$RELEASE.tar.zst && break
sleep 100
done

done
echo "Artifacts:"
du -ch /home/*tar*


# Trigger the endpoint rebuild
#curl -X POST ${VERCEL_REBUILD_HOOK}
curl -X POST ${VERCEL_REBUILD_HOOK}

0 comments on commit 7edd9c7

Please sign in to comment.