From f97d34e6f57e106c81385dee04da2e4f0b2686d4 Mon Sep 17 00:00:00 2001 From: duncanpo Date: Tue, 23 Jul 2024 12:45:35 -0400 Subject: [PATCH] refactors release creation workflow, fixes #142, fixes #129 --- .github/workflows/build_and_test_full.yml | 2 ++ .github/workflows/build_and_test_simple.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/build_and_test_full.yml b/.github/workflows/build_and_test_full.yml index 848a333..73fa04b 100644 --- a/.github/workflows/build_and_test_full.yml +++ b/.github/workflows/build_and_test_full.yml @@ -11,10 +11,12 @@ jobs: get_version: runs-on: ubuntu-20.04 steps: + # need fetch-depth:0 to also download the tags - name: Download OpenTelemetry-Matlab source uses: actions/checkout@v3 with: path: opentelemetry-matlab + fetch-depth: 0 - name: Get Version id: getversion shell: bash diff --git a/.github/workflows/build_and_test_simple.yml b/.github/workflows/build_and_test_simple.yml index 9fe7893..a0400e6 100644 --- a/.github/workflows/build_and_test_simple.yml +++ b/.github/workflows/build_and_test_simple.yml @@ -12,10 +12,12 @@ jobs: get_version: runs-on: ubuntu-20.04 steps: + # need fetch-depth:0 to also download the tags - name: Download OpenTelemetry-Matlab source uses: actions/checkout@v3 with: path: opentelemetry-matlab + fetch-depth: 0 - name: Get Version id: getversion shell: bash