Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@
<Owners>$(Company)</Owners>
<Authors>Dynamo</Authors>
<Product>Dynamo</Product>
<Copyright>Copyright © Autodesk, Inc 2024</Copyright>
<Copyright>Copyright © Autodesk, Inc 2025</Copyright>

<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

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

<!--Aids in code analysis.-->
Expand Down
20 changes: 20 additions & 0 deletions DynamoVisualProgramming.PythonEngine.PythonNet3.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>DynamoVisualProgramming.PythonEngine.PythonNet3</id>
<version>$version$</version>
<authors>Autodesk</authors>
<owners>Autodesk</owners>
<license type="expression">Apache-2.0</license>
<projectUrl>https://github.com/DynamoDS/PythonNet3Engine</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>PythonNet3 Engine Nuget, it contains the necessary binaries to load the PythonNet3 engine to Dynamo</description>
<copyright>Copyright Autodesk 2025</copyright>
</metadata>
<files>
<file src="logo.png" target="content\logo\" />
<file src="package_output\DSPythonNet3\pkg.json" target="content\manifest\" />
<file src="package_output\DSPythonNet3\bin\**" target="lib\net10.0\" exclude="**\*.pdb;" />
<file src="package_output\DSPythonNet3\extra\**" target="lib\net10.0\" exclude="**\*.pdb;" />
</files>
</package>
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env groovy

@Library('PSL@master')
@Library('CILibrary@CBP/stable') _
@Library('CILibrary@nuget-test') _

StartPipeline()
Binary file added logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions nuget.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="Public Nuget" value="https://api.nuget.org/v3/index.json" />
</packageSources>
</configuration>
25 changes: 9 additions & 16 deletions pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
version: 1.4.6
version: 1.4.7
pipeline_os: windows
create_pr_release_to_master: true
create_pr_release_to_public_master: true

env:
- GITHUB_ACCESS_TOKEN_ID: github_access_token_acsbuildguy
- SLACK_QUANTUM_BUILD_CHANNEL : "#dynamo-jenkinsbuild"
- JENKINS_NODE_WIN: CDA-VS22-DT

jenkins_creds:
-
type: secretText
credentialsId: dynamovisualprogramming_nuget_api_key
secretText: API_KEY

code_analysis:
sonarqube:
source_encoding: UTF-8
Expand All @@ -27,20 +33,7 @@ ci_test:
- dotnet test

deployment:
-
type: sign
files_to_sign:
- package_output/DSPythonNet3/**/DSPythonNet3*.dll
- package_output/DSPythonNet3/**/Python.*.dll
-
type: customized
scripts:
- "pwsh.exe -ExecutionPolicy ByPass -Command Compress-Archive -Path package_output/DSPythonNet3/* -DestinationPath DSPythonNet3.zip"
-
type: artifacts
publish_to_jenkins: true
publish_to_artifactory: false
publish_to_package_manager: true
use_dev_pm: false
outputs:
- DSPythonNet3.zip
- "pwsh.exe -ExecutionPolicy ByPass -Command Compress-Archive -Path package_output/DSPythonNet3/* -DestinationPath DSPythonNet3.zip"
Loading