Print tag

This commit is contained in:
Jeremy 2023-11-06 12:27:54 -05:00
parent 98368fb417
commit 372271c837
No known key found for this signature in database
GPG Key ID: B4C8300FEC395042

View File

@ -12,6 +12,7 @@ jobs:
- name: test - name: test
run: | run: |
tag=$(git rev-parse --abbrev-ref HEAD) tag=$(git rev-parse --abbrev-ref HEAD)
echo $tag
cd .. cd ..
cp -rv cpptrace/test/fetchcontent-integration . cp -rv cpptrace/test/fetchcontent-integration .
mkdir fetchcontent-integration/build mkdir fetchcontent-integration/build
@ -59,6 +60,7 @@ jobs:
- name: test - name: test
run: | run: |
tag=$(git rev-parse --abbrev-ref HEAD) tag=$(git rev-parse --abbrev-ref HEAD)
echo $tag
cd .. cd ..
cp -rv cpptrace/test/fetchcontent-integration . cp -rv cpptrace/test/fetchcontent-integration .
mkdir fetchcontent-integration/build mkdir fetchcontent-integration/build
@ -73,6 +75,7 @@ jobs:
- name: test - name: test
run: | run: |
tag=$(git rev-parse --abbrev-ref HEAD) tag=$(git rev-parse --abbrev-ref HEAD)
echo $tag
mkdir build mkdir build
cd build cd build
cmake .. -DCMAKE_BUILD_TYPE=Debug cmake .. -DCMAKE_BUILD_TYPE=Debug
@ -106,6 +109,7 @@ jobs:
- name: test - name: test
run: | run: |
$tag=$(git rev-parse --abbrev-ref HEAD) $tag=$(git rev-parse --abbrev-ref HEAD)
echo $tag
cd .. cd ..
cp -Recurse cpptrace/test/fetchcontent-integration . cp -Recurse cpptrace/test/fetchcontent-integration .
mkdir fetchcontent-integration/build mkdir fetchcontent-integration/build
@ -136,6 +140,7 @@ jobs:
- name: test - name: test
run: | run: |
$tag=$(git rev-parse --abbrev-ref HEAD) $tag=$(git rev-parse --abbrev-ref HEAD)
echo $tag
cd .. cd ..
cp -Recurse cpptrace/test/fetchcontent-integration . cp -Recurse cpptrace/test/fetchcontent-integration .
mkdir fetchcontent-integration/build mkdir fetchcontent-integration/build