mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +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
11
appveyor.yml
11
appveyor.yml
@ -19,7 +19,16 @@ install:
|
|||||||
# Do not build on tags (GitHub only)
|
# Do not build on tags (GitHub only)
|
||||||
skip_tags: true
|
skip_tags: true
|
||||||
before_build:
|
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:
|
build_script:
|
||||||
- docfx metadata doc\docfx.json
|
- docfx metadata doc\docfx.json
|
||||||
|
Loading…
Reference in New Issue
Block a user