Publish Pre-release #1
@ -12,7 +12,8 @@
|
|||||||
RootModule = 'PSCredentialStore'
|
RootModule = 'PSCredentialStore'
|
||||||
|
|
||||||
# Version number of this module.
|
# Version number of this module.
|
||||||
ModuleVersion = $Env:APPVEYOR_BUILD_VERSION
|
# Do not touch the version number. It gets replaced in the build process.
|
||||||
|
ModuleVersion = '0.0.0.9999'
|
||||||
|
|
||||||
# Supported PSEditions
|
# Supported PSEditions
|
||||||
# CompatiblePSEditions = @()
|
# CompatiblePSEditions = @()
|
||||||
|
@ -19,7 +19,7 @@ Function Invoke-AppVeyorBumpVersion() {
|
|||||||
|
|
||||||
Try {
|
Try {
|
||||||
$ModManifest = Get-Content -Path (".\src\{0}.psd1" -f $CALLSIGN)
|
$ModManifest = Get-Content -Path (".\src\{0}.psd1" -f $CALLSIGN)
|
||||||
$BumpedManifest = $ModManifest -replace '\$Env:APPVEYOR_BUILD_VERSION', "'$Env:APPVEYOR_BUILD_VERSION'"
|
$BumpedManifest = $ModManifest -replace '0.0.0.9999', $Env:APPVEYOR_BUILD_VERSION
|
||||||
Remove-Item -Path (".\src\{0}.psd1" -f $CALLSIGN)
|
Remove-Item -Path (".\src\{0}.psd1" -f $CALLSIGN)
|
||||||
Out-File -FilePath (".\src\{0}.psd1" -f $CALLSIGN) -InputObject $BumpedManifest -NoClobber -Encoding utf8 -Force
|
Out-File -FilePath (".\src\{0}.psd1" -f $CALLSIGN) -InputObject $BumpedManifest -NoClobber -Encoding utf8 -Force
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user