Skip to content

Commit

Permalink
Fix release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
johlju committed Sep 8, 2024
1 parent 5291da6 commit b5bd159
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build-push-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b5bd159

Please sign in to comment.