Skip to content

Commit

Permalink
feat: Include version in release (#1336)
Browse files Browse the repository at this point in the history
* Set version before build

* Format yaml a little
  • Loading branch information
paulpach committed Dec 21, 2019
1 parent daa7265 commit e4f89cf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .releaserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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", {
Expand Down
4 changes: 3 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e4f89cf

Please sign in to comment.