File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 5757 steps :
5858 - uses : actions/checkout@v2
5959 - name : Get Version
60- run : .\scripts\getLatestVersion.ps1 -propertiesPath $env:LOCATION
60+ run : .\scripts\getLatestVersion.ps1
6161 shell : pwsh
6262 - name : Test Print
6363 run : echo $RELEASE_TAG
Original file line number Diff line number Diff line change @@ -26,11 +26,12 @@ $findVersions = $findVersions -split "`r`n"
2626$versionIndex = $findVersions [0 ].IndexOf(" =" )
2727$majorVersion = $findVersions [0 ].Substring($versionIndex + 2 )
2828$minorVersion = $findVersions [1 ].Substring($versionIndex + 2 )
29- $patchVersion = $findVersions [2 ].Substring($versionIndex + 2 )
30- $version = " $majorVersion .$minorVersion .$patchVersion "
31-
32-
33- echo " RELEASE_TAG = $version " >> $GITHUB_ENV
29+ # $patchVersion = $findVersions[2].Substring($versionIndex+2)
30+ # $version = "$majorVersion.$minorVersion.$patchVersion"
31+ echo $findVersions
32+ echo $majorVersion
33+ echo $minorVersion
34+ echo " RELEASE_TAG = $versionIndex " >> $GITHUB_ENV
3435# Update the VERSION_STRING env variable and inform the user
3536# Write-Host "##vso[task.setVariable variable=VERSION_STRING]$($version)";
3637# Write-Host "Updated the VERSION_STRING enviornment variable with the current Gradle.Properties, $version"
You can’t perform that action at this time.
0 commit comments