osmocom-release-tarballs: fix missing st2 clone

Clone simtrace2.git before trying to create the tarball with git.
Fix for:
  simtrace2
    simtrace2-0.1.tar.bz2 (creating)
  + cd /osmo-ci/_temp/repos/simtrace2
  /osmo-ci/scripts/osmocom-release-tarballs.sh: 195: cd: can't cd to /osmo-ci/_temp/repos/simtrace2

Related: OS#5347
Fixes: 0221a0 ("OSMO_RELEASE_REPOS: add simtrace2, osmo-remsim")
Change-Id: I0a845549ba1fe9f0d9ab55a5c5c7bf5b8f57caae
This commit is contained in:
Oliver Smith 2021-12-13 15:44:35 +01:00 committed by osmith
parent b5617e2f84
commit 444e048693
1 changed files with 2 additions and 0 deletions

View File

@ -238,6 +238,8 @@ create_move_tarball() {
if tag_has_file "$repo" "$tag" host/configure.ac; then
create_tarball "$repo/host" "$tag"
move_tarball "$repo/host" "$tag"
else
prepare_repo "$repo"
fi
create_tarball_git "$repo" "$tag"