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 3838 shell : bash
3939 run : |
4040 ls ./artifacts/*.nupkg
41- version=$(unzip -p ./artifacts/*SDK*.nupkg '*.nuspec' | grep -oPm1 "(?<=< version>) [^<]+" | grep -oE "^[0-9]+\.[0-9]+\.[0-9]+-preview")
42- template_version=$(grep -oPm1 "(?<= Version=\") [^\"]+" ./templates/content/wasi-cli/wasi-cli.csproj | grep -oE "^[0-9]+\.[0-9]+\.[0-9]+-preview")
41+ version=$(unzip -p ./artifacts/*SDK*.nupkg '*.nuspec' | grep -oE "< version>[^<]+" | sed 's/<version>//' | grep -oE "^[0-9]+\.[0-9]+\.[0-9]+-preview")
42+ template_version=$(grep -oE " Version=\"[^\"]+" ./templates/content/wasi-cli/wasi-cli.csproj | sed 's/Version="//' | grep -oE "^[0-9]+\.[0-9]+\.[0-9]+-preview")
4343 echo "Package Version: $version | Template version: $template_version"
4444 if [ "$version" != "$template_version" ]; then
4545 echo "Version mismatch: Package version ($version) does not match template version ($template_version)";
6666 name : nuget-packages
6767 path : artifacts/*.nupkg
6868 if-no-files-found : error
69- if : ${{ matrix.dotnet == '10.x' && matrix.os == 'windows-latest' }}
69+ if : ${{ matrix.dotnet == '10.x' && matrix.os == 'windows-latest' }}
7070
You can’t perform that action at this time.
0 commit comments