Skip to content

Commit

Permalink
Small fixes to the release parts
Browse files Browse the repository at this point in the history
Signed-off-by: James Sturtevant <[email protected]>
  • Loading branch information
jsturtevant committed Jun 15, 2024
1 parent 25226c5 commit cb0e35e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ jobs:
name: Release
if: github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v4 # needed for the create release step
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
Expand All @@ -79,14 +80,14 @@ jobs:
- name: Push version tag
if: ${{ !inputs.test-run }}
env:
TAG: v${{ steps.extract_version.outputs.version }}"
TAG: v${{ steps.extract_version.outputs.version }}
run: |
git tag $TAG
git push origin $TAG
- name: Create release
if: ${{ !inputs.dry_run }}
if: ${{ !inputs.test-run }}
run: |
gh release create $TAG --generate-notes --prerelease
env:
GH_TOKEN: ${{ github.token }}
TAG: v${{ steps.extract_version.outputs.version }}"
TAG: v${{ steps.extract_version.outputs.version }}

0 comments on commit cb0e35e

Please sign in to comment.