We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4e05bc commit f165b3fCopy full SHA for f165b3f
aarch64_linux/aarch64_ci_build.sh
@@ -4,6 +4,19 @@ set -eux -o pipefail
4
SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
5
source $SCRIPTPATH/aarch64_ci_setup.sh
6
7
+tagged_version() {
8
+ GIT_DESCRIBE="git --git-dir /pytorch/.git describe --tags --match v[0-9]*.[0-9]*.[0-9]*"
9
+ if ${GIT_DESCRIBE} --exact >/dev/null; then
10
+ ${GIT_DESCRIBE}
11
+ else
12
+ return 1
13
+ fi
14
+}
15
+
16
+if tagged_version >/dev/null; then
17
+ export OVERRIDE_PACKAGE_VERSION="$(tagged_version | sed -e 's/^v//' -e 's/-.*$//')"
18
+fi
19
20
###############################################################################
21
# Run aarch64 builder python
22
0 commit comments