Skip to content

Commit 557069c

Browse files
authored
Merge pull request #67 from pytorch/add_version_suffix_0_1
packaging: Add version suffix to BUILD_VERSION
2 parents eea6278 + 442f090 commit 557069c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packaging/pkg_helpers.bash

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ setup_build_version() {
121121
# Set build version based on tag if on tag
122122
if [[ -n "${CIRCLE_TAG}" ]]; then
123123
# Strip tag
124-
export BUILD_VERSION="$(echo "${CIRCLE_TAG}" | sed -e 's/^v//' -e 's/-.*$//')"
124+
export BUILD_VERSION="$(echo "${CIRCLE_TAG}" | sed -e 's/^v//' -e 's/-.*$//')${VERSION_SUFFIX}"
125125
fi
126126
}
127127

0 commit comments

Comments
 (0)