Skip to content

chore(ci): Update automated-release.yml#1843

Merged
rocketstack-matt merged 1 commit intomainfrom
markscott-ms-patch-1
Nov 24, 2025
Merged

chore(ci): Update automated-release.yml#1843
rocketstack-matt merged 1 commit intomainfrom
markscott-ms-patch-1

Conversation

@markscott-ms
Copy link
Contributor

The semantic release notes step is failing. Updating to a method that will import the module correctly.

Description

Currently the automated release is failing with:

Failed to generate release notes via semantic-release dry run
TypeError: semanticRelease is not a function
    at [eval]:1:108
    at [eval]:1:462
    at runScriptInThisContext (node:internal/vm:209:10)
    at node:internal/process/execution:446:12
    at [eval]-wrapper:6:24
    at runScriptInContext (node:internal/process/execution:444:60)
    at evalFunction (node:internal/process/execution:279:30)
    at evalTypeScript (node:internal/process/execution:291:3)
    at node:internal/main/eval_string:74:3

Updating to a method that works for importing semanticRelease:

$ node                                                                                                           
Welcome to Node.js v22.16.0.
Type ".help" for more information.
> const { default: semanticRelease } = await import('semantic-release')
undefined
> await semanticRelease({dryRun: true, ci:false})
[10:52:55 AM] [semantic-release] › ℹ  Running semantic-release version 24.2.7

Type of Change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 📚 Documentation update
  • 🎨 Code style/formatting changes
  • ♻️ Refactoring (no functional changes)
  • ⚡ Performance improvements
  • ✅ Test additions or updates
  • 🔧 Chore (maintenance, dependencies, CI, etc.)

Affected Components

  • CLI (cli/)
  • Shared (shared/)
  • CALM Widgets (calm-widgets/)
  • CALM Hub (calm-hub/)
  • CALM Hub UI (calm-hub-ui/)
  • Documentation (docs/)
  • VS Code Extension (calm-plugins/vscode/)
  • Dependencies
  • CI/CD

Commit Message Format ✅

Testing

  • I have tested my changes locally
  • I have added/updated unit tests
  • All existing tests pass

Checklist

  • My commits follow the conventional commit format
  • I have updated documentation if necessary
  • I have added tests for my changes (if applicable)
  • My changes follow the project's coding standards

The semantic release notes step is failing. Updating to a method that will import the module correctly.
@markscott-ms markscott-ms requested a review from a team as a code owner November 24, 2025 10:57
@rocketstack-matt rocketstack-matt merged commit f30a8b9 into main Nov 24, 2025
17 checks passed
@rocketstack-matt rocketstack-matt deleted the markscott-ms-patch-1 branch November 24, 2025 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants