Skip to content

Commit

Permalink
removed validation set on userdirectory type to allow other types
Browse files Browse the repository at this point in the history
  • Loading branch information
ahaydon committed Dec 3, 2018
1 parent cbd20e7 commit 234f600
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 11 deletions.
7 changes: 0 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,6 @@ jobs:
mv project qlik-cli
cd qlik-cli
pwsh -Command 'Publish-Module -Path ./ -NuGetApiKey $env:PSG_API_KEY -Verbose'
- run:
name: Check published version matches module version
command: |
pwsh -Command '
if ((Test-ModuleManifest -Path ./Qlik-Cli.psd1).Version -ne (Find-Module -Name Qlik-Cli).Version) {
Write-Error "Published version does not match"
}'
publish-github-release:
docker:
Expand Down
2 changes: 1 addition & 1 deletion Qlik-Cli.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RootModule = 'Qlik-Cli.psm1'

# Version number of this module.
ModuleVersion = '1.13.1'
ModuleVersion = '1.13.2'

# ID used to uniquely identify this module
GUID = '730275fa-35db-42e2-9400-eac7e3043ea4'
Expand Down
2 changes: 1 addition & 1 deletion Qlik-Cli.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function Connect-Qlik {
if (Test-Path $HostPath) {
$Computername = [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($(Get-Content $HostPath)))
} else {
$Computername = $env:computername + $port
$Computername = $env:computername
}
}
If( $Computername.ToLower().StartsWith( "http" ) ) {
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## About
Qlik-Cli is a PowerShell module that provides a command line interface for managing a Qlik Sense environment. The module provides a set of commands for viewing and editing configuration settings, as well as managing tasks and other features available through the APIs.

[![CircleCI](https://circleci.com/gh/ahaydon/Qlik-Cli.svg?style=svg)](https://circleci.com/gh/ahaydon/Qlik-Cli) Publish to PowerShell Gallery
[![CircleCI](https://circleci.com/gh/ahaydon/Qlik-Cli.svg?style=svg)](https://circleci.com/gh/ahaydon/Qlik-Cli) Publish to PowerShell Gallery and GitHub releases

The desired state configuration module has now been moved to https://github.com/ahaydon/Qlik-DSC
## Usage
Expand Down
1 change: 0 additions & 1 deletion resources/userdirectory.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ function New-QlikUserDirectory {
[parameter(Mandatory=$false,Position=1)]
[string]$userDirectoryName,

[ValidateSet('Repository.UserDirectoryConnectors.ODBC.OdbcSql', 'Repository.UserDirectoryConnectors.LDAP.ActiveDirectory')]
[string]$type,

[string]$configured=$false,
Expand Down

0 comments on commit 234f600

Please sign in to comment.