File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -113,17 +113,17 @@ jobs:
113113
114114 - name : Set NuGet Version to Tag Number for Camera
115115 if : startsWith(github.ref, 'refs/tags/') && endsWith(github.ref, '-camera')
116- run : echo "NugetPackageVersionCamera=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
116+ run : echo "NugetPackageVersionCamera=${GITHUB_REF#refs/tags/}" | sed 's/-camera$//' >> $GITHUB_ENV
117117 shell : bash
118118
119119 - name : Set NuGet Version to Tag Number for MediaElement
120120 if : startsWith(github.ref, 'refs/tags/') && endsWith(github.ref, '-mediaelement')
121- run : echo "NugetPackageVersionMediaElement=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
121+ run : echo "NugetPackageVersionMediaElement=${GITHUB_REF#refs/tags/}" | sed 's/-mediaelement$//' >> $GITHUB_ENV
122122 shell : bash
123123
124124 - name : Set NuGet Version to Tag Number for Maps
125125 if : startsWith(github.ref, 'refs/tags/') && endsWith(github.ref, '-maps')
126- run : echo "NugetPackageVersionMaps=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
126+ run : echo "NugetPackageVersionMaps=${GITHUB_REF#refs/tags/}" | sed 's/-maps$//' >> $GITHUB_ENV
127127 shell : bash
128128
129129 - name : Set NuGet Version to PR Version
You can’t perform that action at this time.
0 commit comments