Skip to content

Commit 3dbc82d

Browse files
committed
build: no need to update libnvme subproject
libnvme is part of the nvme-cli repo thus no need to update the wrap anymore. Signed-off-by: Daniel Wagner <[email protected]>
1 parent bd159e1 commit 3dbc82d

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

scripts/release.sh

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -82,24 +82,6 @@ fi
8282

8383
cd "$(git rev-parse --show-toplevel)" || exit 1
8484

85-
if [ "$update_lib_dep" = true ] && [[ -f subprojects/libnvme.wrap ]]; then
86-
git -C subprojects/libnvme fetch --all
87-
88-
# extract the version string from libnvme by using the ref
89-
# defined in libnvme.wrap.
90-
libnvme_ref=$(sed -n "s/revision = \([0-9a-z]\+\)/\1/p" subprojects/libnvme.wrap)
91-
libnvme_VERSION=$(git -C subprojects/libnvme describe "${libnvme_ref}")
92-
if [[ "${libnvme_VERSION}" =~ ${re} ]]; then
93-
echo "libnvme: valid version ${libnvme_VERSION} string"
94-
95-
# remove the leading 'v'
96-
libnvme_ver="${libnvme_VERSION#v}"
97-
else
98-
echo "libnvme: invalid version string ${libnvme_VERSION}"
99-
exit 1
100-
fi
101-
fi
102-
10385
if [ "$force" = false ] ; then
10486
if [[ -n $(git status -s) ]]; then
10587
echo "tree is dirty."

0 commit comments

Comments
 (0)