From b1a342a6999ebb76a395d6a20583b400ca9367d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juno=20Su=C3=A1rez?= Date: Tue, 30 Apr 2024 12:04:53 -0700 Subject: [PATCH 1/4] Fetch tags in CI --- .github/workflows/ubuntu.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 79fd9ea..73d0892 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -17,6 +17,8 @@ jobs: steps: - name: Checking out uses: actions/checkout@v3 + with: + fetch-tags: True - name: Building image run: docker build -t hhvm-test -f ci/Dockerfile . - name: Running tests From 8f697c643a7e4768a4eb50d0e774224552a3e4d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juno=20Su=C3=A1rez?= Date: Tue, 30 Apr 2024 12:12:54 -0700 Subject: [PATCH 2/4] Git fetch deep in CI --- .github/workflows/ubuntu.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 73d0892..9485edb 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -19,6 +19,7 @@ jobs: uses: actions/checkout@v3 with: fetch-tags: True + fetch-depth: 0 - name: Building image run: docker build -t hhvm-test -f ci/Dockerfile . - name: Running tests From a25e8dc03c5ce4bf6a3df7e46fcba8e5f787d4da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juno=20Su=C3=A1rez?= Date: Tue, 30 Apr 2024 12:14:36 -0700 Subject: [PATCH 3/4] Try listing tags --- .github/workflows/ubuntu.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 9485edb..5a36a22 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -20,6 +20,8 @@ jobs: with: fetch-tags: True fetch-depth: 0 + - run: git tags -l + - run: git describe --tags - name: Building image run: docker build -t hhvm-test -f ci/Dockerfile . - name: Running tests From 04339d153319006e735f7998d7fecb8ebc1ff265 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juno=20Su=C3=A1rez?= Date: Tue, 30 Apr 2024 12:15:42 -0700 Subject: [PATCH 4/4] Fix cmd --- .github/workflows/ubuntu.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 5a36a22..2d48376 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -20,7 +20,7 @@ jobs: with: fetch-tags: True fetch-depth: 0 - - run: git tags -l + - run: git tag -l - run: git describe --tags - name: Building image run: docker build -t hhvm-test -f ci/Dockerfile .