Skip to content

Commit 903f2bc

Browse files
authored
Merge pull request #110 from mattip/use-8
use 8 characters in git describe on windows
2 parents d6d0b15 + 318cb35 commit 903f2bc

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
runs-on: ${{ matrix.os }}
2828

2929
steps:
30-
- uses: actions/checkout@v2
30+
- uses: actions/checkout@v3
3131
- name: install-rtools
3232
run: |
3333
# rtools 42+ does not support 32 bits builds.

.github/workflows/multibuild.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
PLAT: ${{ matrix.PLAT }}
7070

7171
steps:
72-
- uses: actions/checkout@v2
72+
- uses: actions/checkout@v3
7373
with:
7474
submodules: recursive
7575
fetch-depth: 0

tools/build_openblas.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ fi
8484

8585
# Build name for output library from gcc version and OpenBLAS commit.
8686
GCC_TAG="gcc_$(gcc -dumpversion | tr .- _)"
87-
OPENBLAS_VERSION=$(git describe --tags)
87+
OPENBLAS_VERSION=$(git describe --tags --abbrev=8)
8888
# Build OpenBLAS
8989
# Variable used in creating output libraries
9090
export LIBNAMESUFFIX=${OPENBLAS_VERSION}-${GCC_TAG}

tools/upload_to_anaconda_staging.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ our_wd=$(cygpath "$START_DIR")
66
cd $our_wd
77

88
pushd OpenBLAS
9-
VERSION=$(git describe --tags)
9+
VERSION=$(git describe --tags --abbrev=8)
1010
popd
1111

1212
if [ "$OPENBLAS_LIBS_STAGING_UPLOAD_TOKEN" == "" ]; then
@@ -21,4 +21,4 @@ else
2121
-d "OpenBLAS for multibuild wheels" \
2222
-s "OpenBLAS for multibuild wheels" \
2323
builds/openblas*.zip
24-
fi
24+
fi

0 commit comments

Comments
 (0)