diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ed78be823d..349c48241d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,6 +28,8 @@ jobs: tag: ${{ fromJSON(steps.parse.outputs.data).version }} body: ${{ fromJSON(steps.parse.outputs.data).body }} artifacts: "./dist/*.*" + makeLatest: false + prerelease: ${{ fromJSON(steps.parse.outputs.data).prerelease }} - name: Publish run: npm publish env: diff --git a/tools/parse_message.js b/tools/parse_message.js index 82f30aecbe..1724fb703e 100644 --- a/tools/parse_message.js +++ b/tools/parse_message.js @@ -56,7 +56,8 @@ try { JSON.stringify({ title, version, - body: lines.join("\n"), + body: commitLines.join("\n"), + prerelease: version.includes('alpha') }) ); } catch (error) {