mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-17 18:40:33 +00:00
fix: set version number (#1338)
* dry run semantic release * fix: setting version number * fix syntax error * Display the version
This commit is contained in:
parent
9926472d98
commit
0d1d7b5a1c
13
appveyor.yml
13
appveyor.yml
@ -19,8 +19,17 @@ install:
|
||||
# Do not build on tags (GitHub only)
|
||||
skip_tags: true
|
||||
before_build:
|
||||
semantic-release --prepare
|
||||
|
||||
- ps: |
|
||||
semantic-release --dry-run | %{
|
||||
echo $_
|
||||
$fields = -split $_;
|
||||
if ($fields[0] -eq "#" -or $fields[0] -eq "##") {
|
||||
echo "Mirror version " $fields[1]
|
||||
echo $fields[1] > Assets/Mirror/version.txt
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
build_script:
|
||||
- docfx metadata doc\docfx.json
|
||||
- docfx build doc\docfx.json
|
||||
|
Loading…
Reference in New Issue
Block a user