From 32bda9e6afe8ae18f807c2e0f90b1f89631e01ac Mon Sep 17 00:00:00 2001 From: Luiz Henrique Cassettari Date: Fri, 2 May 2025 18:22:58 -0300 Subject: [PATCH 1/2] Support Revit 2026 --- Build/.nuke/build.schema.json | 177 ++++++++++++++++++---------------- CHANGELOG.md | 7 ++ RevitShell/RevitShell.csproj | 2 +- 3 files changed, 101 insertions(+), 85 deletions(-) diff --git a/Build/.nuke/build.schema.json b/Build/.nuke/build.schema.json index 054b38f..18ec667 100644 --- a/Build/.nuke/build.schema.json +++ b/Build/.nuke/build.schema.json @@ -1,49 +1,62 @@ { "$schema": "http://json-schema.org/draft-04/schema#", - "$ref": "#/definitions/build", - "title": "Build Schema", "definitions": { - "build": { - "type": "object", + "Host": { + "type": "string", + "enum": [ + "AppVeyor", + "AzurePipelines", + "Bamboo", + "Bitbucket", + "Bitrise", + "GitHubActions", + "GitLab", + "Jenkins", + "Rider", + "SpaceAutomation", + "TeamCity", + "Terminal", + "TravisCI", + "VisualStudio", + "VSCode" + ] + }, + "ExecutableTarget": { + "type": "string", + "enum": [ + "Build", + "BuildInstall", + "Clean", + "Compile", + "GitPreRelease", + "GitRelease", + "Release", + "Sign" + ] + }, + "Verbosity": { + "type": "string", + "description": "", + "enum": [ + "Verbose", + "Normal", + "Minimal", + "Quiet" + ] + }, + "NukeBuild": { "properties": { "Continue": { "type": "boolean", "description": "Indicates to continue a previously failed build attempt" }, - "Folder": { - "type": "string" - }, - "GitHubToken": { - "type": "string", - "default": "Secrets must be entered via 'nuke :secrets [profile]'" - }, "Help": { "type": "boolean", "description": "Shows the help text for this build assembly" }, "Host": { - "type": "string", "description": "Host for execution. Default is 'automatic'", - "enum": [ - "AppVeyor", - "AzurePipelines", - "Bamboo", - "Bitbucket", - "Bitrise", - "GitHubActions", - "GitLab", - "Jenkins", - "Rider", - "SpaceAutomation", - "TeamCity", - "Terminal", - "TravisCI", - "VisualStudio", - "VSCode" - ] - }, - "MainName": { - "type": "string" + "$ref": "#/definitions/Host" }, "NoLogo": { "type": "boolean", @@ -57,15 +70,56 @@ "type": "boolean", "description": "Shows the execution plan (HTML)" }, - "PreReleaseFilter": { + "Profile": { "type": "array", + "description": "Defines the profiles to load", "items": { "type": "string" } }, - "Profile": { + "Root": { + "type": "string", + "description": "Root directory during build execution" + }, + "Skip": { + "type": "array", + "description": "List of targets to be skipped. Empty list skips all dependencies", + "items": { + "$ref": "#/definitions/ExecutableTarget" + } + }, + "Target": { + "type": "array", + "description": "List of targets to be invoked. Default is '{default_target}'", + "items": { + "$ref": "#/definitions/ExecutableTarget" + } + }, + "Verbosity": { + "description": "Logging verbosity during build execution. Default is 'Normal'", + "$ref": "#/definitions/Verbosity" + } + } + } + }, + "allOf": [ + { + "properties": { + "EnableForkedRepository": { + "type": "boolean" + }, + "Folder": { + "type": "string" + }, + "GitHubToken": { + "type": "string", + "default": "Secrets must be entered via 'nuke :secrets [profile]'" + }, + "MainName": { + "type": "string" + }, + "PreReleaseFilter": { "type": "array", - "description": "Defines the profiles to load", "items": { "type": "string" } @@ -76,10 +130,6 @@ "ReleaseNameVersion": { "type": "boolean" }, - "Root": { - "type": "string", - "description": "Root directory during build execution" - }, "SignFile": { "type": "string", "default": "Secrets must be entered via 'nuke :secrets [profile]'" @@ -88,55 +138,14 @@ "type": "string", "default": "Secrets must be entered via 'nuke :secrets [profile]'" }, - "Skip": { - "type": "array", - "description": "List of targets to be skipped. Empty list skips all dependencies", - "items": { - "type": "string", - "enum": [ - "Build", - "BuildInstall", - "Clean", - "Compile", - "GitPreRelease", - "GitRelease", - "Release", - "Sign" - ] - } - }, "Solution": { "type": "string", "description": "Path to a solution file that is automatically loaded" - }, - "Target": { - "type": "array", - "description": "List of targets to be invoked. Default is '{default_target}'", - "items": { - "type": "string", - "enum": [ - "Build", - "BuildInstall", - "Clean", - "Compile", - "GitPreRelease", - "GitRelease", - "Release", - "Sign" - ] - } - }, - "Verbosity": { - "type": "string", - "description": "Logging verbosity during build execution. Default is 'Normal'", - "enum": [ - "Minimal", - "Normal", - "Quiet", - "Verbose" - ] } } + }, + { + "$ref": "#/definitions/NukeBuild" } - } + ] } diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a62c58..361bac2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [1.1.0] / 2025-05-02 +### Features +- Support Revit 2026. +### Updates +- Update `ricaun.Revit.Installation` to `1.4.0`. + ## [1.0.1] / 2024-05-15 ### Features - Show Revit File Version Information / Open Revit File in the respect Revit version. @@ -21,5 +27,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - First Pre Release [vNext]: ../../compare/1.0.0...HEAD +[1.1.0]: ../../compare/1.0.1...1.1.0 [1.0.1]: ../../compare/1.0.0...1.0.1 [1.0.0]: ../../compare/1.0.0 \ No newline at end of file diff --git a/RevitShell/RevitShell.csproj b/RevitShell/RevitShell.csproj index 7c52ded..3253bba 100644 --- a/RevitShell/RevitShell.csproj +++ b/RevitShell/RevitShell.csproj @@ -7,7 +7,7 @@ - 1.0.1 + 1.1.0 From a4e3537f7bb82ad44c7e9c8f868a26b397645790 Mon Sep 17 00:00:00 2001 From: Luiz Henrique Cassettari Date: Fri, 2 May 2025 18:34:06 -0300 Subject: [PATCH 2/2] Replace ` ` to `.` in the installation name. --- CHANGELOG.md | 3 +++ Install/RevitShell.iss | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 361bac2..6e81538 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Support Revit 2026. ### Updates - Update `ricaun.Revit.Installation` to `1.4.0`. +### Build +- Replace ` ` to `.` in the installation name. +- Add `ricaun` in the installation name. ## [1.0.1] / 2024-05-15 ### Features diff --git a/Install/RevitShell.iss b/Install/RevitShell.iss index eb80b2b..881a2ef 100644 --- a/Install/RevitShell.iss +++ b/Install/RevitShell.iss @@ -26,11 +26,11 @@ AppPublisherURL={#AppURL} AppSupportURL={#AppURL} AppUpdatesURL={#AppURL} -DefaultDirName="{autopf}\{#AppFolder}" +DefaultDirName="{autopf}\{#AppFolder}\{#AppVersion}" DisableWelcomePage=no DisableDirPage=no DisableProgramGroupPage=yes -OutputBaseFilename="{#AppName} {#AppVersion}" +OutputBaseFilename="ricaun.{#AppName}.{#AppVersion}" UninstallDisplayName="{#AppName}" LicenseFile="..\LICENSE"