Skip to content

Commit 518fcf2

Browse files
committed
Update version
1 parent 6c42190 commit 518fcf2

11 files changed

Lines changed: 61 additions & 51 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
commands:
1010
description: 'Commands'
1111
required: true
12-
default: 'test check build package publish release'
12+
default: 'debug'
1313

1414
jobs:
1515
publish:

Directory.Build.props

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22

33
<PropertyGroup>
44
<Product>Extensions</Product>
5-
<Version>1.0.2</Version>
6-
<Description>Assorted components for Grasshopper.</Description>
5+
<Version>1.0.3</Version>
76
<Authors>Extensions Authors</Authors>
8-
<Copyright>Copyright (c) 2021 $(Authors)</Copyright>
9-
<PackageProjectUrl>https://github.com/visose/extensions</PackageProjectUrl>
7+
<Description>Assorted components for Grasshopper.</Description>
108
<PackageTags>Grasshopper;Extensions;Robots</PackageTags>
9+
<PackageProjectUrl>https://github.com/visose/extensions</PackageProjectUrl>
1110
<IconUrl>https://github.com/visose/extensions/raw/master/build/icon.png</IconUrl>
11+
<ReleaseNotes>RELEASE</ReleaseNotes>
12+
13+
<CurrentYear>$([System.DateTime]::Now.Year)</CurrentYear>
14+
<Copyright>Copyright (c) 2017-$(CurrentYear) $(Authors)</Copyright>
1215
<Company>$(Authors) - $(PackageProjectUrl)</Company>
1316
</PropertyGroup>
1417

RELEASE

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
1+
- version: 1.0.3
2+
changes:
3+
- Fixed compatibility with early Rhino 7.0 service releases.
4+
- Fixed should not appear as supported in Rhino 6 or lower.
5+
16
- version: 1.0.2
27
changes:
3-
- Update to work with Robots 1.0.4.
8+
- Updated to work with Robots 1.0.4.
9+
410
- version: 1.0.1
511
changes:
6-
- Fix check for Robots plugin when loaded after Extensions.
12+
- Fixed check for Robots plugin when loaded after Extensions.
13+
714
- version: 1.0.0
815
changes:
916
- Updated to work with the latest Robots plugin.

build/Extensions.Build/Extensions.Build.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="RhinoPackager" Version="1.0.2" />
9+
<PackageReference Include="RhinoPackager" Version="1.0.5" />
1010
</ItemGroup>
1111

1212
</Project>

build/Extensions.Build/Program.cs

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,38 @@
11
using RhinoPackager;
2+
using RhinoPackager.Commands;
23

3-
return await Packager.RunAsync(args);
4+
var app = App.Create(args);
5+
var github = new Github("visose", "Extensions");
6+
7+
app.Add(new ICommand[]
8+
{
9+
new CheckVersion(github),
10+
new Build
11+
(
12+
buildProject: "src/Extensions.Grasshopper/Extensions.Grasshopper.csproj"
13+
),
14+
new Yak
15+
(
16+
propsFile: "Directory.Build.props",
17+
sourceFolder: "artifacts/bin/Extensions.Grasshopper/net48",
18+
files: new []
19+
{
20+
"Extensions.gha",
21+
"Extensions.dll",
22+
"clipper_library.dll",
23+
"geometry3Sharp.dll",
24+
"gsGCode.dll",
25+
"MoreLinq.dll",
26+
"SkeletonNet.dll"
27+
},
28+
tag: "rh7_0-any"
29+
),
30+
new Release
31+
(
32+
github: github,
33+
file: "RELEASE",
34+
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."
35+
)
36+
});
37+
38+
await app.RunAsync();

build/Extensions.Build/Properties/launchSettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"profiles": {
33
"Extensions.Build": {
44
"commandName": "Project",
5-
"commandLineArgs": "check",
5+
"commandLineArgs": "debug",
66
"workingDirectory": "../../"
77
}
88
}

build/settings.json

Lines changed: 0 additions & 19 deletions
This file was deleted.

lib/Robots.dll

-163 KB
Binary file not shown.

lib/Robots.gha

-186 KB
Binary file not shown.

src/Extensions.Grasshopper/Extensions.Grasshopper.csproj

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,35 +2,24 @@
22

33
<PropertyGroup>
44
<TargetFramework>net48</TargetFramework>
5-
<GenerateResourceUsePreserializedResources>true</GenerateResourceUsePreserializedResources>
65
<AssemblyTitle>$(Product) Grasshopper</AssemblyTitle>
7-
<TargetExt>.gha</TargetExt>
86
</PropertyGroup>
97

108
<ItemGroup>
11-
<PackageReference Include="Grasshopper" Version="7.13.21348.13001" />
129
<ProjectReference Include="..\Extensions\Extensions.csproj" />
13-
<Reference Include="Robots">
14-
<HintPath>..\..\lib\Robots.dll</HintPath>
15-
</Reference>
16-
<Reference Include="Robots.Grasshopper">
17-
<HintPath>..\..\lib\Robots.gha</HintPath>
18-
</Reference>
1910
</ItemGroup>
2011

2112
<ItemGroup>
2213
<EmbeddedResource Include="Assets\Embed\**\*" />
2314
</ItemGroup>
2415

16+
<Target Name="Rename" AfterTargets="AfterBuild">
17+
<Move SourceFiles="$(TargetPath)" DestinationFiles="$(TargetDir)$(Product).gha" />
18+
</Target>
19+
2520
<PropertyGroup Condition="$([MSBuild]::IsOSPlatform(Windows))">
2621
<StartProgram>C:\Program Files\Rhino 7\System\Rhino.exe</StartProgram>
2722
<StartArguments>/nosplash /runscript="-grasshopper window show _enter"</StartArguments>
2823
<StartAction>Program</StartAction>
2924
</PropertyGroup>
30-
31-
<Target Name="Rename" AfterTargets="AfterBuild">
32-
<Move SourceFiles="$(TargetPath)" DestinationFiles="$(TargetDir)$(Product)$(TargetExt)" />
33-
</Target>
34-
35-
3625
</Project>

0 commit comments

Comments
 (0)