Make website publish work with teh latest stable version (#2766)

* Make website publish work with teh latest stable version

* Add fetch-depth to website publish so we have the tags
This commit is contained in:
Chris Stewart 2021-03-07 14:57:45 -06:00 committed by GitHub
parent 355fc6eefc
commit 9b954c9c03
2 changed files with 3 additions and 1 deletions

View file

@ -11,6 +11,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Scala
uses: olafurpg/setup-scala@v10
- name: Cache

View file

@ -25,7 +25,7 @@ mdocExtraArguments := List("--no-link-hygiene")
// these variables gets passed to mdoc, and can be read
// from there
mdocVariables := Map(
"STABLE_VERSION" -> "0.4.0",
"STABLE_VERSION" -> previousStableVersion.value.get.toString,
"UNSTABLE_VERSION" -> version.value
)