Skip to content

Commit dab45d2

Browse files
committed
Update package versioning and add logo to nuspec
Refactored versioning in Directory.Build.props to use MS_PACKAGE_VERSION and updated DynamoPackageVersion. Modified nuspec to use a variable for version and include logo.png in the package. Added logo.png to the repository.
1 parent 4d30ed7 commit dab45d2

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

Directory.Build.props

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@
1010
<ImplicitUsings>enable</ImplicitUsings>
1111
<Nullable>enable</Nullable>
1212

13-
<!-- Using `VersionPrefix` allows specifying a `version-suffix` argument when packing for beta releases. -->
14-
<VersionPrefix>1.4.4</VersionPrefix>
15-
<DynamoPackageVersion>4.0.0-beta2860</DynamoPackageVersion>
13+
<!-- This is the version used for created NuGet packages. Using `VersionPrefix` allows specifying a `version-suffix` argument when packing for beta releases. -->
14+
<MS_PACKAGE_VERSION Condition="'$(MS_PACKAGE_VERSION)' == ''">0.0.0.0</MS_PACKAGE_VERSION>
15+
<VersionPrefix>$(MS_PACKAGE_VERSION)</VersionPrefix>
16+
<DynamoPackageVersion>4.0.0.3277</DynamoPackageVersion>
1617
<DynamoVersion>4.0</DynamoVersion>
1718

1819
<!--Aids in code analysis.-->

DynamoVisualProgramming.PythonEngine.PythonNet3.nuspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
33
<metadata>
44
<id>DynamoVisualProgramming.PythonEngine.PythonNet3</id>
5-
<version>0.0.0</version>
5+
<version>$version$</version>
66
<authors>Autodesk</authors>
77
<owners>Autodesk</owners>
88
<license type="expression">Apache-2.0</license>
@@ -12,6 +12,7 @@
1212
<copyright>Copyright Autodesk 2025</copyright>
1313
</metadata>
1414
<files>
15+
<file src="logo.png" target="content\logo\" />
1516
<file src="package_output\DSPythonNet3\pkg.json" target="content\manifest\" />
1617
<file src="package_output\DSPythonNet3\bin\**" target="lib\net10.0\" exclude="**\*.pdb;" />
1718
<file src="package_output\DSPythonNet3\extra\**" target="lib\net10.0\" exclude="**\*.pdb;" />

logo.png

2.56 KB
Loading

0 commit comments

Comments
 (0)