Skip to content

Commit f30a8b9

Browse files
Merge pull request #1843 from finos/markscott-ms-patch-1
chore(ci): Update automated-release.yml
2 parents 2fb373e + 4cf0335 commit f30a8b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/automated-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ jobs:
283283
npm version "$NEXT_VERSION" --no-git-tag-version
284284
285285
# Generate release notes via semantic-release dry run (no tags)
286-
node -e "const fs=require('fs');const semanticRelease=require('semantic-release');(async()=>{try{const result=await semanticRelease({ci:false,dryRun:true});const notes=result&&result.nextRelease&&result.nextRelease.notes?result.nextRelease.notes.trim():'';fs.writeFileSync('release-notes.md',notes?notes+'\\n':'');}catch(error){console.error('Failed to generate release notes via semantic-release dry run');console.error(error);fs.writeFileSync('release-notes.md','');}})();"
286+
node -e "const fs=require('fs');const {default: semanticRelease}=await import('semantic-release');(async()=>{try{const result=await semanticRelease({ci:false,dryRun:true});const notes=result&&result.nextRelease&&result.nextRelease.notes?result.nextRelease.notes.trim():'';fs.writeFileSync('release-notes.md',notes?notes+'\\n':'');}catch(error){console.error('Failed to generate release notes via semantic-release dry run');console.error(error);fs.writeFileSync('release-notes.md','');}})();"
287287
288288
# Build changelog entry with generated notes (fallback to simple entry)
289289
cat > temp_changelog.md << EOF

0 commit comments

Comments
 (0)