Skip to content

Commit

Permalink
Bumped version in psd1 and fixed version incrementing.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexAsplund committed Aug 4, 2019
1 parent 2260f8b commit 65e4968
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
4 changes: 3 additions & 1 deletion Release/PSGraylog/FunctionGeneration/GenerateFunctions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,12 @@ Set-Content -Path ".\Classes\GraylogAllClasses.ps1" -Value $ClassString

$Functions = @()
rm $Outdir\*

Write-Output "Generating functions"
Foreach ($Collection in $Apis )
{
$Collection.APIs | ? { $_.Operations -ne $null } | foreach {
Write-Output "Generating functions"

$Functions += New-GLFunction -SwaggerObject $_ -OutDir $OutDir -Context $Collection.Context

}
Expand Down
2 changes: 1 addition & 1 deletion Release/PSGraylog/PSGraylog.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RootModule = 'PSGraylog.psm1'

# Version number of this module.
ModuleVersion = '0.0.1'
ModuleVersion = '0.0.3'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down
6 changes: 5 additions & 1 deletion build.settings.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -157,13 +157,17 @@ Task BeforeStageFiles {
# Increment version number from gallery
Try
{
$Moduleversion = (Find-Module -Repository $PublishRepository -Name $ModuleName).Version -join "."
$Moduleversion = (Import-PowershellDataFile -Path "$SrcRootDir\$ModuleName.psd1").ModuleVersion
}
catch
{
$ModuleVersion = "0.0.0"
}

If ($Env:psakeForceVersion -ne $null)
{
$Moduleversion = $Env:psakeForceVersion
}

$ModuleVersion = $Moduleversion -split "\."

Expand Down
Binary file removed docs/en-us/PSGraylog
Binary file not shown.
2 changes: 1 addition & 1 deletion src/PSGraylog.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RootModule = 'PSGraylog.psm1'

# Version number of this module.
ModuleVersion = '0.0.1'
ModuleVersion = '0.0.3'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down

0 comments on commit 65e4968

Please sign in to comment.