-
Notifications
You must be signed in to change notification settings - Fork 4
Set up Nuget deploy pipeline #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
a9ab038
5bbf95d
7aea314
c15fadb
d9b9d68
29be676
4d30ed7
dab45d2
6f94a1b
affd4da
0604d16
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| 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> |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -9,6 +9,8 @@ Builds are published to [Jenkins](https://master-5.jenkins.autodesk.com/job/Dyna | |||||
| ## Deployment | ||||||
|
|
||||||
| The repository uses the release branch to deploy to [Dynamo Package Manager](www.dynamopackages.com). | ||||||
| As well as to public Nuget: https://www.nuget.org/packages/DynamoVisualProgramming.PythonEngine.PythonNet3 | ||||||
| (Make sure to update the binary version in Directory.build.props before releasing and match it to the version that will be deployed after release) | ||||||
|
||||||
| (Make sure to update the binary version in Directory.build.props before releasing and match it to the version that will be deployed after release) | |
| **Note:** Update the binary version in `Directory.Build.props` before each release so that it matches the deployment version. |
| 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" /> | ||
zeusongit marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| </packageSources> | ||
| </configuration> | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,12 +1,18 @@ | ||||||
| version: 1.4.6 | ||||||
| pipeline_os: windows | ||||||
| create_pr_release_to_master: true | ||||||
| create_pr_release_to_public_master: true | ||||||
|
||||||
| create_pr_release_to_public_master: true | |
| create_pr_release_to_master: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The default version '0.0.0.0' may cause confusion if the environment variable is not set, potentially leading to invalid package versions being published. Consider using a more explicit default like '0.0.0-dev' or adding validation to fail the build if MS_PACKAGE_VERSION is not provided for release builds.