diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0477700d..bcd75962 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,6 +7,7 @@ on: push: branches: - main + - eap pull_request: jobs: @@ -155,7 +156,7 @@ jobs: run: | gh release create v${{ needs.build.outputs.version }} \ --draft \ - --target main \ + --target ${GITHUB_REF_NAME} \ --title "v${{ needs.build.outputs.version }}" \ --notes "$(cat << 'EOM' ${{ needs.build.outputs.changelog }}