diff --git a/CHANGELOG.md b/CHANGELOG.md index bb34cece3..c861193f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,16 @@ 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/). +## [3.6.1902.1] + +### Added + +### Changed +- Fixed Set-PnPTenantSite where the NoScriptSite parameter would always be set to false if not specified. + +### Contributors + + ## [3.6.1902.0] ### Added diff --git a/Commands/Admin/SetTenantSite.cs b/Commands/Admin/SetTenantSite.cs index f931eddb7..28d6a15ce 100644 --- a/Commands/Admin/SetTenantSite.cs +++ b/Commands/Admin/SetTenantSite.cs @@ -67,7 +67,7 @@ public class SetTenantSite : PnPAdminCmdlet public SiteLockState? LockState; [Parameter(Mandatory = false, HelpMessage = "Specifies if a site allows custom script or not. See https://support.office.com/en-us/article/Turn-scripting-capabilities-on-or-off-1f2c515f-5d7e-448a-9fd7-835da935584f for more information.", ParameterSetName = ParameterSet_PROPERTIES)] - public SwitchParameter NoScriptSite; + public SwitchParameter? NoScriptSite; [Parameter(Mandatory = false, HelpMessage = @"Specifies the default link permission for the site collection. None - Respect the organization default link permission. View - Sets the default link permission for the site to ""view"" permissions. Edit - Sets the default link permission for the site to ""edit"" permissions", ParameterSetName = ParameterSet_PROPERTIES)] public SharingPermissionType? DefaultLinkPermission; diff --git a/Commands/Properties/AssemblyInfo.cs b/Commands/Properties/AssemblyInfo.cs index ee81d6f68..e2f0536ee 100644 --- a/Commands/Properties/AssemblyInfo.cs +++ b/Commands/Properties/AssemblyInfo.cs @@ -48,6 +48,6 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("3.6.1902.0")] -[assembly: AssemblyFileVersion("3.6.1902.0")] +[assembly: AssemblyVersion("3.6.1902.1")] +[assembly: AssemblyFileVersion("3.6.1902.1")] [assembly: InternalsVisibleTo("SharePointPnP.PowerShell.Tests")] \ No newline at end of file diff --git a/version.txt b/version.txt index 61f6ba98d..aff697f26 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -3.6.1902.0 \ No newline at end of file +3.6.1902.1 \ No newline at end of file