diff options
author | Oliver Smith <osmith@sysmocom.de> | 2019-05-29 12:37:39 +0200 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2019-05-29 12:37:39 +0200 |
commit | 9dc7e2ad4b536911a133df0e5493c0b691f239ac (patch) | |
tree | c6b6d5cf1d77f9bfcf08b1f6611dd2b05f21eeb7 /scripts | |
parent | 777a2f8060ba571a580967068fc08dc1218593d8 (diff) |
OBS: latest: remove redundant checkout in build()
Don't checkout a specific version in build(), this is already done in
checkout().
Change-Id: I74290968fe25a6311da0de26ff675bbd687ba156
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/osmocom-latest-packages.sh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/osmocom-latest-packages.sh b/scripts/osmocom-latest-packages.sh index 020efaa..58b4a9f 100755 --- a/scripts/osmocom-latest-packages.sh +++ b/scripts/osmocom-latest-packages.sh @@ -66,7 +66,6 @@ build() { echo "====> Building $project" cd "$TOP/$project" VER=$(get_last_tag "$project") - git checkout -f -B "$VER" "refs/tags/$VER" if [ -x ./git-version-gen ]; then ./git-version-gen . > .tarball-version 2>/dev/null gbp buildpackage -S -uc -us -d --git-ignore-branch "--git-export-dir=$output" \ |