diff --git a/.gitignore b/.gitignore index 699dfbe7..0a17cdcc 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,5 @@ DLLUnpackStg DLLUnpackStg/* FunctionBackups FunctionBackups/* -out/* +BuildOutput/* +*config.csv diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 209b6050..00000000 --- a/.travis.yml +++ /dev/null @@ -1,39 +0,0 @@ -language: cpp -python: -- '3.4' -git: - depth: 1000 -os: -- linux -- osx -sudo: required -dist: trusty -osx_image: xcode8.3 -notifications: - slack: - rooms: - secure: g0pn+4g7d+2KXW88mL4zgCU0CjjpXcYPsdqM3y+M8xllo0bM201uhe+JBQi9AmXynLCV5qDoK3N5Fu1UoEW9zdKoi6c6HzCgb8vFZ1BBeNGfcGc/EkxgyimubJ66EfM7EuU8TAc76N/OO3YTagnV39/C1NoMLzblgbS/4kyy3Ay5237qo9asDhrgt9YaRuTjQ8M4VYG+0hsjtZpIBF2ZhsCHw1i2YPHVd4EYdfj8JxKEueo+FSU3uxgD+5HCIhCThD4QqVWWlbR7cMkbmE8gWnJLqVOCqzH3CG1zv4ASGjJbH4NUWFf8zXfhiGGCoXyMX/DOtYbMwD5poNj0k5UG6L0AyO6L2VoWh5qTsrrg4hZIl5VILUOqcNgVibIOPV3B39OTZnMEVDs3gtUP+v5yCfYF7uCc/ziNmaj1nzMHsV5fhC+qZkuaWKVc0zc6BdVMt6OjMqf2kiJO3bCmw3BKs4WmvkACDrDQzMOFiq53OWQkP300sdsmFislUBQK4olDhBVWofPex7vHIxu1y0E9SndgT6b7/JzIJvzWQLr/adUny9yS05G13Bv+3p7AbIuIOzGwDLkrCSVVTDParujX3dgCbqr+7C8fdTic2jDInaLCR5BpON4Ve6BNwk+81HdT9DegtGpJsfDN97nr6tWBMA0WCJkQ+pIHuAo8Ry4s24w= - on_success: always - on_failure: always - on_start: always - webhooks: - urls: - secure: loefE31kEeRlWkpGFfK+YpSAN4pRKaEq+n4u6xKNRKMCUED8oKaMA65SjARLPj4DHwpSIM0l5+8+z3V4c22cE7QhjDYXEhb1BHJiCc8T0ysWOZYOHe95ncWUKkn0QQOddKc5ayAt3qy5+rm/DFGXDi9hbSyCip9HYAn4gepH8b4hnBWpDoEpaTPNnn+6nUt9TTGC4iMn2S+NZ/p6t4mm1ZtIjq1v3yzRDMY6oq1/eJUzJ1078XFWAL5tUkRetrT5szHvpK84YPMo9h2hFw6N1yPvw/ZQOXwPmtHhhaZA7h0yY/XY9CvUjQFB125BK4gjpIsqklR6kFm+8iy/XB53tH5Gcy0e4fIuYa102JZXAZ5sqsLsewELH26sXR1vY1TGALkWHyvypSbeZtUzn8XtVuzyK2+P0b8tAKC4hHlJZg13DgQME+kzR1fw8KXOiCdv9tPKesr3DGb5YitZ5ESm/jHWxWO1ciqsKUUWLPR/J+iknTeZDxfJy+jELmo7msgedq1OTuLr8GACksKyoJAGNWSJQeLFFOJs2yMcwcJ8m12RowqoR/dJcPWWKqEVLEKUvNDecLMV2KObp/nASX++sSItz3eBnlJJCIUH3vC16Zwu7Y++7NoN64JfT7p/Ddk5kkJZYDnKAyK90wYqONoa/2lOPSjNj/JBw8/iulQn6yI= - on_success: always - on_failure: always - on_start: always -before_install: -- chmod +x pwsh_download.sh -- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; brew install openssl; brew - install python3; mkdir -p /usr/local/lib; ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib - /usr/local/lib/; ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/; - fi -- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -y install python3; nvm - install v6.0.0; fi -install: -- ./pwsh_download.sh -before_script: -- export PATH=~/.local/bin:$PATH -script: -- ulimit -n 4096 -- pwsh -File build.ps1 diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c443052..389955ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ # Changelog +* [2.17.2](#2172) * [2.17.1](#2171) * [2.17.0](#2170) * [2.16.1](#2161) @@ -54,6 +55,11 @@ * [Functions Removed](#functions-removed) * [Functions Aliased](#functions-aliased) +## 2.17.2 + +* [Issue #103](https://github.com/scrthq/PSGSuite/issues/103) + * Fixed: `SendNotificationEmail` is now correctly defaulting to `$false`, but attempting to actually send the notification email results in an error. This is now corrected. + ## 2.17.1 - Validated deployment via Azure Pipelines diff --git a/PSGSuite/PSGSuite.psd1 b/PSGSuite/PSGSuite.psd1 index eca2d25b..adf272c0 100644 --- a/PSGSuite/PSGSuite.psd1 +++ b/PSGSuite/PSGSuite.psd1 @@ -12,7 +12,7 @@ RootModule = 'PSGSuite.psm1' # Version number of this module. - ModuleVersion = '2.17.1' + ModuleVersion = '2.17.2' # ID used to uniquely identify this module GUID = '9d751152-e83e-40bb-a6db-4c329092aaec' diff --git a/PSGSuite/PSGSuite.psm1 b/PSGSuite/PSGSuite.psm1 index 6d935fa4..61c7365c 100644 --- a/PSGSuite/PSGSuite.psm1 +++ b/PSGSuite/PSGSuite.psm1 @@ -10,4 +10,4 @@ Param $ConfigName ) $ModuleRoot = $PSScriptRoot -New-Variable -Name PSGSuiteKey -Value $EncryptionKey -Scope Global -Force -PassThru +New-Variable -Name PSGSuiteKey -Value $EncryptionKey -Scope Global -Force diff --git a/PSGSuite/Public/Drive/Add-GSDrivePermission.ps1 b/PSGSuite/Public/Drive/Add-GSDrivePermission.ps1 index 67301bb0..ede3d1e3 100644 --- a/PSGSuite/Public/Drive/Add-GSDrivePermission.ps1 +++ b/PSGSuite/Public/Drive/Add-GSDrivePermission.ps1 @@ -171,14 +171,6 @@ function Add-GSDrivePermission { Type { $body.$key = ($PSBoundParameters[$key]).ToLower() } - SendNotificationEmail { - if ($PSBoundParameters[$key]) { - $body.$key = $PSBoundParameters[$key] - } - else { - $body.$key = $false - } - } Default { if ($body.PSObject.Properties.Name -contains $key) { $body.$key = $PSBoundParameters[$key] diff --git a/README.md b/README.md index c054fce0..210767b3 100644 --- a/README.md +++ b/README.md @@ -8,16 +8,6 @@ Azure Pipelines      - - - AppVeyor -      - - - Travis CI -      $null } " Cleaned previous output directory [$outputDir]" @@ -93,6 +94,13 @@ task Compile -depends Clean { Import-GoogleSDK +if (`$global:PSGSuiteKey -and `$MyInvocation.BoundParameters['Debug']) { + `$prevDebugPref = `$DebugPreference + `$DebugPreference = "Continue" + Write-Debug "```$global:PSGSuiteKey is set to a `$(`$global:PSGSuiteKey.Count * 8)-bit key!" + `$DebugPreference = `$prevDebugPref +} + `$aliasHash = $aliasHashContents foreach (`$key in `$aliasHash.Keys) {