Skip to content

semantic-release fails #165

@MikeMcC399

Description

@MikeMcC399

Situation

  • The script "semantic-release": "semantic-release pre && npm publish --access public && semantic-release post" in package.json fails:

    Too many non-option arguments: got 1, maximum of 0

  • Running npx semantic-release directly results in the error:

    An error occurred while running semantic-release: TypeError: os.tmpDir is not a function

  • The configured version semantic-release@17.2.3 was released on Nov 16, 2020

  • The workflow .github/workflows/main.yml has disabled semantic-release by commenting it out:

# - if: github.ref == 'refs/heads/master'
# run: npm run semantic-release

Assessment

Suggestion

  • Rework the use of semantic-release
  • Update to latest version
  • Use standard plugins as far as possible

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions