diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b7315a6..2e4e3c0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,8 @@ on: workflow_dispatch: push: tags: - - 'v*.*.*' + - 'v*.*.*' # finals like v1.2.3 + - 'v*.*.*-*' # pre-releases like v1.2.3-beta, v1.2.3-rc1 permissions: contents: write @@ -13,11 +14,16 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: Build artifacts (placeholder) run: echo "Build your add-on zips here" + - name: Create GitHub Release uses: softprops/action-gh-release@v2 with: generate_release_notes: true + prerelease: ${{ contains(github.ref, '-') }} + # files: | + # dist/*.zip env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}