Skip to content

Commit 5fa302a

Browse files
Merge pull request #1850 from finos/markscott-ms-patch-1
chore[ci] - fix automated-release.yml
2 parents 5f4aa89 + 8fe500b commit 5fa302a

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 {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','');}})();"
286+
node -e "const fs=require('fs');const {default: 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','');}})();"
287287
288288
# Build changelog entry with generated notes (fallback to simple entry)
289289
cat > temp_changelog.md << EOF

0 commit comments

Comments
 (0)