Skip to content

Commit b47e8f6

Browse files
authored
Update main.yml
1 parent f2e5d7a commit b47e8f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ jobs:
1919
Version=${GITHUB_REF:10}
2020
dotnet build -c Release
2121
sed -i "s/\(<MongoAnalyzerRuleSetVersion>\)[^<]*\(<\/MongoAnalyzerRuleSetVersion>\)/\1$version\2/" src/Cnblogs.Architecture.Ddd.Cqrs.MongoDb.Analyzer/build/Cnblogs.Architecture.Ddd.Cqrs.MongoDb.Analyzer.props
22-
dotnet pack Cnblogs.Architecture.sln -p:Version="$Version" -c Release -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --include-source -o "output"
22+
dotnet pack Cnblogs.Architecture.sln -p:Version="${Version:1}" -c Release -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --include-source -o "output"
2323
nuget push output/*.* -NonInteractive -Source https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)