Skip to content

Commit

Permalink
Merge pull request #2 from joshooaj/joshooaj/fix-issue-1
Browse files Browse the repository at this point in the history
Use nbgv SimpleVersion for ModuleVersion
  • Loading branch information
joshooaj authored Mar 19, 2024
2 parents f51cb79 + dcfba54 commit e1b33bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion psakeFile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ properties {
# Set this to $true to create a module with a monolithic PSM1
$PSBPreference.Build.CompileModule = $true
$PSBPreference.Docs.RootDir = './docs'
$PSBPreference.General.ModuleVersion = (dotnet nbgv get-version -f json | ConvertFrom-Json).NuGetPackageVersion
$PSBPreference.General.ModuleVersion = (dotnet nbgv get-version -f json | ConvertFrom-Json).SimpleVersion
$PSBPreference.Help.DefaultLocale = 'en-US'
$PSBPreference.Test.OutputFile = 'out/testResults.xml'
$PSBPreference.Test.ScriptAnalysis.SettingsPath = Join-Path $psake.build_script_dir 'PSScriptAnalyzerSettings.psd1'
Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1",
"publicReleaseRefSpec": [
"^refs/heads/main$",
"^refs/heads/v\\d+(?:\\.\\d+)?$"
"^refs/heads/v\\d+(?:(\\.\\d+){2})?$"
],
"cloudBuild": {
"buildNumber": {
Expand Down

0 comments on commit e1b33bf

Please sign in to comment.