Skip to content

Commit

Permalink
Change module builder
Browse files Browse the repository at this point in the history
  • Loading branch information
PrzemyslawKlys committed Aug 4, 2023
1 parent 84f0a07 commit 0fb7020
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Build/Build-ModuleSimplified.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Import-Module "$PSScriptRoot\..\PSPublishModule.psd1" -Force
Build-Module -ModuleName 'PSPublishModule' {
# Usual defaults as per standard module
$Manifest = [ordered] @{
ModuleVersion = '2.0.0'
ModuleVersion = '2.0.X'
#PreReleaseTag = 'Preview5'
CompatiblePSEditions = @('Desktop', 'Core')
GUID = 'eb76426a-1992-40a5-82cd-6480f883ef4d'
Expand Down Expand Up @@ -117,8 +117,8 @@ Build-Module -ModuleName 'PSPublishModule' {

# global options for publishing to github/psgallery
# you can use FilePath where APIKey are saved in clear text or use APIKey directly
#New-ConfigurationPublish -Type PowerShellGallery -FilePath 'C:\Support\Important\PowerShellGalleryAPI.txt' -Enabled:$true
#New-ConfigurationPublish -Type GitHub -FilePath 'C:\Support\Important\GitHubAPI.txt' -UserName 'EvotecIT' -Enabled:$true -ID 'ToGitHub' -OverwriteTagName '<TagModuleVersionWithPreRelease>'
New-ConfigurationPublish -Type PowerShellGallery -FilePath 'C:\Support\Important\PowerShellGalleryAPI.txt' -Enabled:$true
New-ConfigurationPublish -Type GitHub -FilePath 'C:\Support\Important\GitHubAPI.txt' -UserName 'EvotecIT' -Enabled:$true -ID 'ToGitHub' -OverwriteTagName '<TagModuleVersionWithPreRelease>'


### FOR TESTING PURPOSES ONLY ###
Expand Down

0 comments on commit 0fb7020

Please sign in to comment.