File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -16,15 +16,14 @@ jobs:
1616 steps :
1717 - name : Check out code
1818 uses : actions/checkout@v3
19- with :
20- fetch-tags : true
2119
2220 - name : Pull LFS
2321 run : |
2422 git lfs pull
2523
2624 - name : Build deb package
2725 run : |
26+ git fetch --tags
2827 TAG_NAME=$(git describe --tags $(git rev-list --tags --max-count=1))
2928 VERSION_NUMBER=$(echo "$TAG_NAME" | sed 's/^v//')
3029 source activate ds_py
@@ -60,14 +59,14 @@ jobs:
6059 uses : actions/checkout@v3
6160 with :
6261 lfs : true
63- fetch-tags : true
6462
6563 - name : Pull LFS
6664 run : |
6765 git lfs pull
6866
6967 - name : Build rpm package
7068 run : |
69+ git fetch --tags
7170 TAG_NAME=$(git describe --tags $(git rev-list --tags --max-count=1))
7271 VERSION_NUMBER=$(echo "$TAG_NAME" | sed 's/^v//')
7372 source /opt/rh/devtoolset-7/enable
@@ -102,10 +101,10 @@ jobs:
102101 uses : actions/checkout@v3
103102 with :
104103 lfs : true
105- fetch-tags : true
106104
107105 - name : Build manylinux wheels
108106 run : |
107+ git fetch --tags
109108 TAG_NAME=$(git describe --tags $(git rev-list --tags --max-count=1))
110109 VERSION_NUMBER=$(echo "$TAG_NAME" | sed 's/^v//')
111110 AS_RELEASE_VERSION=$VERSION_NUMBER bash scripts/release/python_manylinux_build.sh
You can’t perform that action at this time.
0 commit comments