diff --git a/.github/workflows/build-push-release.yml b/.github/workflows/build-push-release.yml index 1f79aaa..b9b068f 100644 --- a/.github/workflows/build-push-release.yml +++ b/.github/workflows/build-push-release.yml @@ -104,7 +104,9 @@ jobs: gh release create v${{ steps.gitversion.outputs.semVer }} \ --title "Preview Release ${{ steps.gitversion.outputs.semVer }}" \ --notes "This is a preview release for version ${{ steps.gitversion.outputs.semVer }}." \ - --draft + --generate-notes \ + --notes-start-tag "v${{ steps.gitversion.outputs.semVer }}" \ + --prerelease # Create Release if on a release branch and dist has changed - name: Create Release diff --git a/src/action.ts b/src/action.ts index 07a2095..f0c4af5 100644 --- a/src/action.ts +++ b/src/action.ts @@ -18,7 +18,7 @@ export async function run() { core.debug(`Loaded config: ${JSON.stringify(config)}`); const time = (new Date()).toTimeString(); - console.log(`Setting output: time=${time}`); + console.log(`Setting output time: ${time}`); core.setOutput('time', time); } catch (error) { if (error instanceof Error) {