diff --git a/.github/workflows/package-test.yml b/.github/workflows/package-test.yml index 8b7a2caf1..dd25c6a63 100644 --- a/.github/workflows/package-test.yml +++ b/.github/workflows/package-test.yml @@ -16,6 +16,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + # Fetch all tags so that sbt-dynver can find the previous release version + fetch-depth: 0 - uses: actions/setup-java@v4 with: distribution: 'zulu' diff --git a/.github/workflows/release-airspec.yml b/.github/workflows/release-airspec.yml index f6e261990..5a9613f00 100644 --- a/.github/workflows/release-airspec.yml +++ b/.github/workflows/release-airspec.yml @@ -13,10 +13,9 @@ jobs: steps: - uses: actions/checkout@v4 with: - fetch-depth: 10000 - # Fetch all tags so that sbt-dynver can find the previous release version + # Fetch all tags so that sbt-dynver can find the previous release version + fetch-depth: 0 - run: git fetch --tags -f - # Install OpenJDK 11 - uses: actions/setup-java@v4 with: distribution: 'zulu' diff --git a/.github/workflows/release-js.yml b/.github/workflows/release-js.yml index 0051abebc..8e3ad38e0 100644 --- a/.github/workflows/release-js.yml +++ b/.github/workflows/release-js.yml @@ -13,8 +13,8 @@ jobs: steps: - uses: actions/checkout@v4 with: - fetch-depth: 10000 - # Fetch all tags so that sbt-dynver can find the previous release version + # Fetch all tags so that sbt-dynver can find the previous release version + fetch-depth: 0 - run: git fetch --tags -f - uses: actions/setup-java@v4 with: diff --git a/.github/workflows/release-sbt-plugin.yml b/.github/workflows/release-sbt-plugin.yml index 4c529d2d1..c8015158d 100644 --- a/.github/workflows/release-sbt-plugin.yml +++ b/.github/workflows/release-sbt-plugin.yml @@ -13,8 +13,8 @@ jobs: steps: - uses: actions/checkout@v4 with: - fetch-depth: 10000 - # Fetch all tags so that sbt-dynver can find the previous release version + # Fetch all tags so that sbt-dynver can find the previous release version + fetch-depth: 0 - run: git fetch --tags -f # Install OpenJDK 11 - uses: actions/setup-java@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2eced75f9..c624a3528 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,8 +13,8 @@ jobs: steps: - uses: actions/checkout@v4 with: - fetch-depth: 0 # Fetch all tags so that sbt-dynver can find the previous release version + fetch-depth: 0 - run: git fetch --tags -f - uses: actions/setup-java@v4 with: diff --git a/.github/workflows/sbt-integration.yml b/.github/workflows/sbt-integration.yml index 16445a67d..c37dbfa0d 100644 --- a/.github/workflows/sbt-integration.yml +++ b/.github/workflows/sbt-integration.yml @@ -29,8 +29,8 @@ jobs: steps: - uses: actions/checkout@v4 with: - fetch-depth: 0 # Fetch all tags so that sbt-dynver can find the previous release version + fetch-depth: 0 - run: git fetch --tags -f - uses: actions/setup-java@v4 with: diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 9635216ea..7a3cd3b9d 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -19,8 +19,8 @@ jobs: steps: - uses: actions/checkout@v4 with: - fetch-depth: 10000 - # Fetch all tags so that sbt-dynver can find the previous release version + # Fetch all tags so that sbt-dynver can find the previous release version + fetch-depth: 0 - run: git fetch --tags - uses: actions/setup-java@v4 with: