Skip to content

Commit

Permalink
Test release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamad-oddhill committed Aug 28, 2024
1 parent ec175f1 commit eacb9d0
Showing 1 changed file with 22 additions and 17 deletions.
39 changes: 22 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,31 @@ name: Release
on:
push:
branches:
- release
- master

jobs:
release:
name: Create Release
runs-on: ubuntu-latest
needs: staging
permissions:
contents: write
outputs:
release-tag: ${{ steps.autotag.outputs.new-tag }}
release-url: ${{ steps.release.outputs.html_url }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
- name: Increment version tag
id: autotag
uses: phish108/[email protected]
with:
tag_name: ${{ github.ref_name }}
release_name: Release ${{ github.ref_name }}
body: |
Changes in this Release
- First Change
- Second Change
draft: false
prerelease: false
github-token: ${{ secrets.GITHUB_TOKEN }}
with-v: true

- name: Create pre-release
id: release
uses: ncipollo/[email protected]
with:
generateReleaseNotes: true
makeLatest: false
prerelease: true
skipIfReleaseExists: true
tag: v${{ steps.autotag.outputs.new-tag }}

0 comments on commit eacb9d0

Please sign in to comment.