Closed iboss-ptk closed 10 months ago
download archive directly instead of git submodule sync to reduce sync time when building fresh.
It also remove complication in build script where it needs to handle stale data.
To check revision cache (potentially having local .lock file in dependency to check if we should download code or not)
.lock
curl -L \ -H "Accept: application/vnd.github+json" \ -H "X-GitHub-Api-Version: 2022-11-28" \ https://api.github.com/repos/osmosis-labs/osmosis/commits/v19.2.0
To download tarball
curl -L -o osmosis.tar \ -H "Accept: application/vnd.github+json" \ -H "X-GitHub-Api-Version: 2022-11-28" \ https://api.github.com/repos/osmosis-labs/osmosis/tarball/main
Not doing, since it's actually slow down the process.
download archive directly instead of git submodule sync to reduce sync time when building fresh.
It also remove complication in build script where it needs to handle stale data.
To check revision cache (potentially having local
.lock
file in dependency to check if we should download code or not)To download tarball