The taglist now includes the project name, so we need to extract the
last field from it to retrieve the git hash.
Change-Id: I8e817d23e0cf3e261f09dcf13c980ca76e5620c0
Signed-off-by: Stephen Kitt <skitt@redhat.com>
PATCH_DIR=/tmp/patches
PROJECT=odlparent
VERSION=1.2.3
- git checkout $(cat "$PATCH_DIR/taglist.log")
+ git checkout $(awk '{print $NF}' "$PATCH_DIR/taglist.log")
git fetch "$PATCH_DIR/$PROJECT.bundle"
git merge --ff-only FETCH_HEAD
git tag -asm "$PROJECT $VERSION" "v$VERSION"