diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 7d416b85..2a41add4 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -56,3 +56,26 @@ jobs: - name: Create deploy bundle run: templates/generate-all deploy.zip v${{ steps.version.outputs.VERSION }} + # - 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 + # with: + # tag_name: ${{ github.ref }} + # release_name: Release ${{ github.ref }} + # body: | + # Changes in this Release + # - First Change + # - Second Change + # draft: true + # prerelease: true + + - uses: ncipollo/release-action@v1 + with: + artifacts: deploy.zip + generateReleaseNotes: true + makeLatest: false + prerelease: true + skipIfReleaseExists: true + tag: v${{ steps.version.outputs.VERSION }}