Skip to content

Commit

Permalink
updating release method
Browse files Browse the repository at this point in the history
  • Loading branch information
Mxrcon authored Jul 5, 2022
1 parent 85c477f commit 1ae1bcc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,8 @@ jobs:

- name: Release on Powershell Gallery
shell: pwsh
run: Publish-Module -Path ./BioNameGenerator -NuGetApiKey ${{ secrets.PSGALLERY_KEY }} -ReleaseNotes "${{ steps.modified.outputs.modified }}"
run: |
Update-ModuleManifest -Path ./BioNameGenerator/BioNameGenerator.psd1 -ReleaseNotes "${{ steps.modified.outputs.modified }}"
Update-ModuleManifest -Path ./BioNameGenerator/BioNameGenerator.psd1 --ModuleVersion ${{github.ref_name}}
Publish-Module -Path ./BioNameGenerator -NuGetApiKey ${{ secrets.PSGALLERY_KEY }}

0 comments on commit 1ae1bcc

Please sign in to comment.