Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Commit

Permalink
Add PreRelease suffix for ModuleBuilder
Browse files Browse the repository at this point in the history
Also added a few other values that ought to be in there by default
NOTE: I did not update the Copyright. Hopefully that's handled by `dotnet new`?
  • Loading branch information
Jaykul authored Nov 17, 2020
1 parent 521415c commit c7bd792
Showing 1 changed file with 34 additions and 5 deletions.
39 changes: 34 additions & 5 deletions PowerShellTemplate.psd1
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
@{
ModuleVersion = "0.0.1"
ModuleVersion = "0.0.1"

# Modules that must be imported into the global environment prior to importing this module
RequiredModules = @()
RequiredModules = @()

# Functions to export. Populated by Optimize-Module during the build step.
# For best performance, do not use wildcards and do not delete this entry!
Expand All @@ -12,12 +12,18 @@
# Cmdlets to export.
# For best performance, do not use wildcards and do not delete this entry!
# Use an empty array if there is nothing to export.
CmdletsToExport = @()
CmdletsToExport = @()

# Aliases to export.
# For best performance, do not use wildcards and do not delete this entry!
# Use an empty array if there is nothing to export.
AliasesToExport = @()
AliasesToExport = @()

# Variables to export.
# For best performance, do not use wildcards and do not delete this entry!
# Use an empty array if there is nothing to export.
VariablesToExport = @()


# ID used to uniquely identify this module
GUID = 'af8481bc-5027-4bbf-a8bf-42ccadd4c885'
Expand All @@ -37,4 +43,27 @@
DotNetFrameworkVersion = '4.0'
# Minimum version of the common language runtime (CLR) required by this module
CLRVersion = '4.0.30319'
}

# PrivateData gets passed to the module at runtime, but is required for publishing with PowerShellGet and building with ModuleBuilder.
PrivateData = @{
# Settings for publishing to the PowerShell gallery:
PSData = @{
# Pre-release suffix (like "Beta001"). Don't comment out because ModuleBuilder needs it
Prerelease = ""
# Optional release notes Don't comment out because ModuleBuilder needs it
ReleaseNotes = '
'
# Optional tags for module discovery.
# Tags = @()

# A URL to the license for this module
# LicenseUri = ''

# A URL to the main website for this project.
# ProjectUri = ''

# A URL to an icon representing this module.
# IconUri = ''
}
}
}

0 comments on commit c7bd792

Please sign in to comment.