diff --git a/.releaserc.yml b/.releaserc.yml index c1b429a63..934f8fef2 100644 --- a/.releaserc.yml +++ b/.releaserc.yml @@ -2,10 +2,10 @@ "verifyConditions": ["@semantic-release/github"], "publish": ["@semantic-release/github"], "prepare": [ - { - "path": "@semantic-release/exec", - "cmd": "set-version ${nextRelease.version}" - } + { + "path": "@semantic-release/exec", + "cmd": "echo ${nextRelease.version} > Assets/Mirror/version.txt" + } ], "plugins": [ ["@semantic-release/commit-analyzer", { diff --git a/appveyor.yml b/appveyor.yml index 96b908acc..048e69b3c 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -18,7 +18,9 @@ install: # Do not build on tags (GitHub only) skip_tags: true - +before_build: + semantic-release --prepare + build_script: - docfx metadata doc\docfx.json - docfx build doc\docfx.json