Skip to content

Commit

Permalink
VS-147: Set correct assembly version on build (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
BorisDog authored Jun 21, 2024
1 parent 8e7f473 commit af0d4c9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion evergreen/run-pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fi
echo Creating nuget package...

dotnet clean "./MongoDB.Analyzer.sln"
dotnet build "./MongoDB.Analyzer.sln" -c Release
dotnet build "./MongoDB.Analyzer.sln" -c Release -p:Version="$PACKAGE_VERSION"
dotnet pack ./src/MongoDB.Analyzer.Package/MongoDB.Analyzer.Package.csproj -o ./artifacts/nuget -c Release -p:Version="$PACKAGE_VERSION" -p:ContinuousIntegrationBuild=true

echo "${ARTIFACTORY_PASSWORD}" | docker login --password-stdin --username "${ARTIFACTORY_USERNAME}" artifactory.corp.mongodb.com
Expand Down
2 changes: 0 additions & 2 deletions src/MongoDB.Analyzer/MongoDB.Analyzer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@

<PackageId>MongoDBAnalyzerCore</PackageId>

<AssemblyVersion>1.3.0.0</AssemblyVersion>
<Company>MongoDB Inc.</Company>
<Copyright>Copyright © 2010-present MongoDB Inc.</Copyright>
<Description>MongoDB Roslyn analyzer for MongoDB .Net driver.</Description>
<InformationalVersion>1.3.0</InformationalVersion>
<Product>MongoDB.Analyzer</Product>
<ImplicitUsings>enable</ImplicitUsings>

Expand Down

0 comments on commit af0d4c9

Please sign in to comment.