Skip to content

Commit 2cf9035

Browse files
committed
BLD Fix git describe
1 parent 37e1f74 commit 2cf9035

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ jobs:
2626
}
2727

2828
steps:
29-
- uses: actions/checkout@v1
29+
- uses: actions/checkout@v2
3030
with:
3131
submodules: 'true'
32+
fetch-depth: 0
3233

3334
- name: Install GNU tar
3435
shell: bash
@@ -52,6 +53,12 @@ jobs:
5253
vcpkgDirectory: ${{github.workspace}}/vcpkg
5354
appendedCacheKey: ${{ hashFiles( env.VCPKGRESPONSEFILE ) }}
5455

56+
- name: Check name
57+
run: |
58+
git status
59+
git describe --tags --dirty
60+
shell: bash
61+
5562
- name: CMake
5663
uses: lukka/run-cmake@v2
5764
id: runcmake

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ _*.json
44
*-checkpoint.ipynb
55
*.pyc
66
*.egg-info
7+
build/
78
dist/

.gitmodules

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
[submodule "vcpkg"]
22
path = vcpkg
33
url = https://github.com/spinicist/vcpkg.git
4+
ignore = dirty

0 commit comments

Comments
 (0)