File tree Expand file tree Collapse file tree 4 files changed +6
-22
lines changed
Expand file tree Collapse file tree 4 files changed +6
-22
lines changed Original file line number Diff line number Diff line change @@ -101,16 +101,15 @@ jobs:
101101
102102 create_Tag :
103103 needs : maven_Release
104- runs-on : ubuntu -latest
104+ runs-on : windows -latest
105105 env :
106106 RELEASE_TAG : " "
107107 steps :
108108 - uses : actions/checkout@v2
109- - name : Get version
109+ - name : Get Version
110110 run : .\scripts\getLatestVersion.ps1
111111 shell : pwsh
112112 - name : Create tag
113113 uses : rickstaa/action-create-tag@v1.2.0
114114 with :
115- tag : $RELEASE_TAG
116-
115+ tag : ${{ env.RELEASE_TAG }}
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ name: Git Release
55on :
66 push :
77 tags :
8- - " v [0-9]+.[0-9]+.[0-9]+"
8+ - " [0-9]+.[0-9]+.[0-9]+"
99 workflow_dispatch :
1010
1111jobs :
Original file line number Diff line number Diff line change 4848 settings.gradle
4949 gradle.properties
5050 **/gradle/**
51- Scripts/**
52- getTag :
53- runs-on : windows-latest
54- env :
55- RELEASE_TAG : " "
56- steps :
57- - uses : actions/checkout@v2
58- - name : Get Version
59- run : .\scripts\getLatestVersion.ps1
60- shell : pwsh
61- - name : Test Print
62- run : echo "${{ env.RELEASE_TAG }}"
63-
51+ Scripts/**
Original file line number Diff line number Diff line change @@ -30,7 +30,4 @@ $patchVersion = $findVersions[2].Substring($versionIndex+2)
3030$version = " $majorVersion .$minorVersion .$patchVersion "
3131
3232# Set Enviornment variable for use to create tag
33- echo " RELEASE_TAG=$version " | Out-File - FilePath $Env: GITHUB_ENV - Encoding utf- 8 - Append
34- # Update the VERSION_STRING env variable and inform the user
35- # Write-Host "##vso[task.setVariable variable=VERSION_STRING]$($version)";
36- # Write-Host "Updated the VERSION_STRING enviornment variable with the current Gradle.Properties, $version"
33+ echo " RELEASE_TAG=$version " | Out-File - FilePath $Env: GITHUB_ENV - Encoding utf- 8 - Append
You can’t perform that action at this time.
0 commit comments