Skip to content

Commit f6f788f

Browse files
author
lith
committed
auto commit 1.6
1 parent b392ebb commit f6f788f

3 files changed

Lines changed: 4 additions & 13 deletions

File tree

Publish/DevOps/github/40.dotnet-publish.sh

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,9 @@ args_="
77
88
export 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
#----------------------------------------------
2015
echo "(x.2)dotnet-publish"
@@ -26,7 +21,7 @@ mkdir -p $codePath/Publish/release/release/publish
2621
docker 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 \
3025
bash -c "
3126
set -e
3227

Publish/DevOps/github/71.docker-image-build.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ args_="
77
88
export 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
1211
export DOCKER_USERNAME=serset
1312
export DOCKER_PASSWORD=xxx

Publish/DevOps/github/startup.bash

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,9 @@ export name=filezip
3131
#----------------------------------------------
3232
echo "(x.2)get version"
3333
export 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
#----------------------------------------------

0 commit comments

Comments
 (0)