Skip to content

Commit

Permalink
fix: Om has MUCH better release structure. Revert to his way (#1083)
Browse files Browse the repository at this point in the history
  • Loading branch information
cberg-aot authored Jan 12, 2024
1 parent dc74f75 commit feeac46
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,20 +63,21 @@ jobs:
echo "CommitDate: ${{ steps.gitversion.outputs.commitDate }}"
outputs:
fullSemVer: ${{ steps.gitversion.outputs.fullSemVer}}

create-release:
name: Create Release
name: Create release
runs-on: ubuntu-22.04
needs: [GitVersion]
needs:
- GitVersion
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/create-release@v1
with:
tag_name: ${{ needs.GitVersion.outputs.fullSemVer }}
release_name: Release ${{ needs.GitVersion.outputs.fullSemVer }}
draft: false
prerelease: false
- name: Create Release
run: |
gh release create "${{ needs.GitVersion.outputs.fullSemVer }}" \
--repo=${{ github.repository }} \
--title="${{ github.repository }}-${{ needs.GitVersion.outputs.fullSemVer }}" \
--generate-notes
promote-images-release:
name: Tag images with Release Version
Expand Down

0 comments on commit feeac46

Please sign in to comment.