Mirror/setversion.ps1
Paul Pacheco 6981c19a13
fix build with appveyor warning (#1340)
* Fix build when semantic release shows error

* Fix appveyor with version warning
2019-12-21 14:20:06 -06:00

9 lines
227 B
PowerShell

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
}
}