diff --git a/Directory.Build.props b/Directory.Build.props index 41b360b..40b8bdf 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -7,7 +7,7 @@ Assorted components for Grasshopper. Grasshopper;Extensions;Robots https://github.com/visose/extensions - https://github.com/visose/extensions/raw/master/build/icon.png + icon.png RELEASE $([System.DateTime]::Now.Year) diff --git a/RELEASE b/RELEASE index 0497e15..7dbc723 100644 --- a/RELEASE +++ b/RELEASE @@ -1,3 +1,7 @@ +- version: 1.0.4 + changes: + - Fixed compatibility with latest Robots version. + - version: 1.0.3 changes: - Fixed compatibility with early Rhino 7.0 service releases. @@ -14,4 +18,4 @@ - version: 1.0.0 changes: - Updated to work with the latest Robots plugin. - - Fixed checking for Robots plugin as package. \ No newline at end of file + - Fixed checking for Robots plugin as package. diff --git a/build/Extensions.Build/Extensions.Build.csproj b/build/Extensions.Build/Extensions.Build.csproj index 30c2bd1..f3e173f 100644 --- a/build/Extensions.Build/Extensions.Build.csproj +++ b/build/Extensions.Build/Extensions.Build.csproj @@ -2,11 +2,15 @@ Exe - net6.0 + net7.0 + $(RootDir) + + + - + \ No newline at end of file diff --git a/build/Extensions.Build/Program.cs b/build/Extensions.Build/Program.cs index 6977307..faf0f8e 100644 --- a/build/Extensions.Build/Program.cs +++ b/build/Extensions.Build/Program.cs @@ -1,19 +1,24 @@ -using RhinoPackager; +using RhinoPackager; using RhinoPackager.Commands; var app = App.Create(args); -var github = new Github("visose", "Extensions"); +Props props = new("Directory.Build.props"); +Github github = new("visose", "Extensions"); app.Add(new ICommand[] { - new CheckVersion(github), + new CheckVersion + ( + props: props, + github: github + ), new Build ( buildProject: "src/Extensions.Grasshopper/Extensions.Grasshopper.csproj" ), new Yak ( - propsFile: "Directory.Build.props", + props: props, sourceFolder: "artifacts/bin/Extensions.Grasshopper/net48", files: new [] { @@ -23,16 +28,22 @@ "geometry3Sharp.dll", "gsGCode.dll", "MoreLinq.dll", - "SkeletonNet.dll" + "SkeletonNet.dll", + "icon.png" }, - tag: "rh7_0-any" + tags: new [] + { + "rh7_0-any", + "rh8_0-any" + } ), new Release ( + props: props, github: github, - file: "RELEASE", + notesFile: "RELEASE", message: "> This **release** can only be installed through the package manager in **Rhino 7** using the `_PackageManager` command.\n> Check the [readme](../../blob/master/.github/README.md) for more details." ) }); -await app.RunAsync(); \ No newline at end of file +await app.RunAsync(); diff --git a/build/Extensions.Build/Properties/launchSettings.json b/build/Extensions.Build/Properties/launchSettings.json deleted file mode 100644 index 20e4d52..0000000 --- a/build/Extensions.Build/Properties/launchSettings.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "profiles": { - "Extensions.Build": { - "commandName": "Project", - "commandLineArgs": "debug", - "workingDirectory": "../../" - } - } -} \ No newline at end of file diff --git a/src/Extensions.Grasshopper/Extensions.Grasshopper.csproj b/src/Extensions.Grasshopper/Extensions.Grasshopper.csproj index bb38fdc..5061f69 100644 --- a/src/Extensions.Grasshopper/Extensions.Grasshopper.csproj +++ b/src/Extensions.Grasshopper/Extensions.Grasshopper.csproj @@ -11,6 +11,7 @@ +