Skip to content

Commit 0f22dd9

Browse files
authored
Merge pull request #55 from Corsinvest/fix-version-and-release-workflow
Fix version to 9.1.2 and rename release workflow
2 parents 96f9f4b + 8d97b1e commit 0f22dd9

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,17 @@ jobs:
4949
Write-Host "Version validated: $moduleVersion"
5050
echo "version=$moduleVersion" >> $env:GITHUB_OUTPUT
5151
52+
- name: Publish module to PowerShell Gallery
53+
shell: pwsh
54+
env:
55+
PSGALLERY_API_KEY: ${{ secrets.PSGALLERY_API_KEY }}
56+
run: |
57+
Publish-Module -Path ./Corsinvest.ProxmoxVE.Api -NuGetApiKey $env:PSGALLERY_API_KEY -Verbose
58+
5259
- name: Create GitHub Release
5360
uses: softprops/action-gh-release@v2
5461
with:
5562
tag_name: v${{ steps.version.outputs.version }}
5663
name: v${{ steps.version.outputs.version }}
5764
generate_release_notes: true
5865
prerelease: ${{ contains(steps.version.outputs.version, '-') }}
59-
60-
- name: Publish module to PowerShell Gallery
61-
shell: pwsh
62-
env:
63-
PSGALLERY_API_KEY: ${{ secrets.PSGALLERY_API_KEY }}
64-
run: |
65-
Publish-Module -Path ./Corsinvest.ProxmoxVE.Api -NuGetApiKey $env:PSGALLERY_API_KEY -Verbose

Corsinvest.ProxmoxVE.Api/Corsinvest.ProxmoxVE.Api.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
RootModule = 'Corsinvest.ProxmoxVE.Api.psm1'
1313

1414
# Version number of this module.
15-
ModuleVersion = '9.1.3'
15+
ModuleVersion = '9.1.2'
1616

1717
# Supported PSEditions
1818
# CompatiblePSEditions = @()

0 commit comments

Comments
 (0)