File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88export codePath=/root/temp/svn
99
10-
11- export version=` grep ' <Version>' $( grep ' <pack/>\|<publish>' ${codePath} -r --include * .csproj -l | head -n 1) | grep -oP ' >(.*)<' | tr -d ' <>' `
12-
13-
14-
1510# "
1611
17-
12+
1813
1914# ----------------------------------------------
2015echo " (x.2)dotnet-publish"
@@ -26,7 +21,7 @@ mkdir -p $codePath/Publish/release/release/publish
2621docker run -i --rm \
2722--env LANG=C.UTF-8 \
2823-v $codePath :/root/code \
29- serset/dotnet:6.0-sdk \
24+ serset/dotnet:sdk- 6.0 \
3025bash -c "
3126set -e
3227
Original file line number Diff line number Diff line change 77
88export codePath=/root/temp/svn
99
10- export version=` grep ' <Version>' $( grep ' <pack/>\|<publish>' ${codePath} -r --include * .csproj -l | head -n 1) | grep -oP ' >(.*)<' | tr -d ' <>' `
1110
1211export DOCKER_USERNAME=serset
1312export DOCKER_PASSWORD=xxx
Original file line number Diff line number Diff line change @@ -31,12 +31,9 @@ export name=filezip
3131# ----------------------------------------------
3232echo " (x.2)get version"
3333export version=` grep ' <Version>' $( grep ' <pack/>\|<publish>' ${codePath} -r --include * .csproj -l | head -n 1) | grep -oP ' >(.*)<' | tr -d ' <>' `
34- # echo $version
35-
36-
37-
38-
34+ echo $version
3935
36+
4037
4138
4239# ----------------------------------------------
You can’t perform that action at this time.
0 commit comments