Skip to content

Commit

Permalink
Merge branch 'v5.4' of https://github.com/ravendb/ravendb into v6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ppekrol committed Jul 13, 2023
2 parents df15c98 + 3a4a89b commit 29306b2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/version.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ function SetBuiltAtEnvironmentVariableInTeamCity($builtAt) {
SetTeamCityEnvironmentVariable 'env.BUILT_AT' $($builtAt.ToString('o'))
}

function SetTagInTeamCity ($tag) {
Write-Host "##teamcity[addBuildTag '$tag']"
}

$DEV_BUILD_NUMBER = 60
function GetBuildNumber () {
if ($env:BUILD_NUMBER) {
Expand Down Expand Up @@ -59,6 +63,7 @@ function SetVersionInfo($projectDir) {

SetVersionEnvironmentVariableInTeamCity $version
SetBuiltAtEnvironmentVariableInTeamCity $builtAt
SetTagInTeamCity $version

$versionInfo = @{
Version = $version;
Expand Down

0 comments on commit 29306b2

Please sign in to comment.