From 3cc530d37e91b28a90df795ef5333509247a0a41 Mon Sep 17 00:00:00 2001 From: Joan Goyeau Date: Mon, 11 May 2020 12:19:49 -0700 Subject: [PATCH] Upgrade Mill and Correct version tag on CI --- .github/workflows/ci.yml | 2 ++ build.sc | 4 ++-- mill | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 32502f6c..1a8da634 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,6 +69,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v2 + - name: Pull all history with tags for correct versionning + run: git fetch --prune --unshallow - name: Publish if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') || github.event_name == 'release' run: | diff --git a/build.sc b/build.sc index 99e9816b..64c09cbb 100644 --- a/build.sc +++ b/build.sc @@ -1,7 +1,7 @@ -import $ivy.`com.goyeau::mill-git:0.1.0` +import $ivy.`com.goyeau::mill-git:0.1.0-6-4254b37` import $ivy.`com.goyeau::mill-scalafix:8515ae6` import $ivy.`com.lihaoyi::mill-contrib-bsp:$MILL_VERSION` -import $ivy.`io.github.davidgregory084::mill-tpolecat:0.1.2` +import $ivy.`io.github.davidgregory084::mill-tpolecat:0.1.3` import $file.project.Dependencies, Dependencies.Dependencies._ import $file.project.{SwaggerModelGenerator => SwaggerModelGeneratorFile} import SwaggerModelGeneratorFile.SwaggerModelGenerator diff --git a/mill b/mill index 33ab01bf..c69b9920 100755 --- a/mill +++ b/mill @@ -3,7 +3,7 @@ # This is a wrapper script, that automatically download mill from GitHub release pages # You can give the required mill version with MILL_VERSION env variable # If no version is given, it falls back to the value of DEFAULT_MILL_VERSION -DEFAULT_MILL_VERSION=0.6.2 +DEFAULT_MILL_VERSION=0.6.3 set -e