Skip to content

Commit ba62afe

Browse files
committed
Release 2.0.0
1 parent 5b8594b commit ba62afe

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

How-to-release.txt

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
- Bump the version number to the next release and update the version of the referenced Nuget
2-
package in the NugetTest project to the next release.
3-
- Add a release tag to the commit point that is to be released.
4-
- Do a Release build of that commit and upload the generated .nupkg file to nuget.org.
1+
- Bump the version number in Rubjerg.Graphviz.csproj to the version to be released.
2+
- Do a Release build. You can use the `build-release.sh` script for this.
3+
- Upload the generated .nupkg file to nuget.org.
4+
- Located at Rubjerg.Graphviz\bin\x64\Release\Rubjerg.Graphviz.x.y.z.nupkg
5+
- Upload to https://www.nuget.org/packages/manage/upload
6+
- Update the version of the referenced Nuget package in the NugetTest project to the package that was just uploaded and run the test.
7+
- If the build and test succeeds we are ready to release. Commit the changes, and push this to github.
8+
- In GitHub, add a new release of the just pushed commit at https://github.com/Rubjerg/Graphviz.NetWrapper/releases.

Rubjerg.Graphviz.NugetTest/Rubjerg.Graphviz.NugetTest.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<Version>4.7.1221</Version>
2626
</PackageReference>
2727
<PackageReference Include="Rubjerg.Graphviz">
28-
<Version>1.1.0</Version>
28+
<Version>2.0.0</Version>
2929
</PackageReference>
3030
<!--We need both packages below to run the tests in VS https://github.com/microsoft/vstest/issues/1870-->
3131
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.0" />

Rubjerg.Graphviz/Rubjerg.Graphviz.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
1010
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
1111
<NoWarn>1701;1702;NU5100</NoWarn>
12-
<Version>1.1.0</Version>
12+
<Version>2.0.0</Version>
1313
<Authors>Chiel ten Brinke</Authors>
1414
<Company>Rubjerg</Company>
1515
<Description>Lean wrapper around Graphviz for building graphs, reading/writing dot files, exporting images, or reading out layout parameters.</Description>

build-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/bash
2-
git clean -dfx && nuget restore && msbuild //p:configuration=release
2+
git clean -dfx && nuget restore Rubjerg.Graphviz.sln && C:\\Program\ Files\\Microsoft\ Visual\ Studio\\2022\\Professional\\Msbuild\\Current\\Bin\\MSBuild.exe //p:configuration=release Rubjerg.Graphviz.sln

0 commit comments

Comments
 (0)