mkdir source-tarball
cd source-tarball
git clone --recursive https://github.com/vgteam/vg.git
cd vg
git fetch --tags origin
LATEST_TAG="$(git describe --tags `git rev-list --tags --max-count=1`)"
git checkout "${LATEST_TAG}"
git submodule update --init --recursive
make version
(cd deps/htslib && make htscodecs/htscodecs/version.h)
rm -Rf .git
find deps -name ".git" -exec rm -Rf "{}" \;
cd ..
mv vg "vg-${LATEST_TAG}"
((which pax >/dev/null && COPYFILE_DISABLE=1 pax -w "vg-${LATEST_TAG}") || tar -c "vg-${LATEST_TAG}") | gzip -c - >"vg-${LATEST_TAG}.tar.gz"
mv "vg-${LATEST_TAG}" "vg-${LATEST_TAG}.in"
version.cpp. If we have run to the end of the list of codenames, quickly PR some more tomaster.vgand all submodules, and upload it to the release.It may help to consult the log of commits since the last release, or to use a command like
git diff --stat v1.58.0..v1.59.0 deps.Release processheading on this wiki page.production-build-jobon Gitlab succeeded in the Gitlab CI pipeline for the correct tag of vg. If something went wrong, you can build and push the container manually for your current architecture only: