Skip to content

[Bug]: Release action doesn't bump versions package versions in npm workspace #19

@th0r

Description

@th0r

Would you like to work on a fix?

  • Check this if you would like to implement a PR, we are more than happy to help you go through the process.

Current and expected behavior

I have an npm workspace with multiple packages stored under packages directory. Let's say there is a foo package there with version 1.0.0.

Here is my .simple-release.json config:

{
  "project": [
    "@simple-release/npm#NpmWorkspacesProject",
    {
      "mode": "independent"
    }
  ],
  "publish": {
    "skip": true
  },
  "bump": {
    "extraScopes": ["deps", "dev-deps"]
  }
}

When I push the following commit to the master fix(foo) blah blah simple-release-action creates a release PR with a proper changelog item, but doesn't bump foo's version to 1.0.1 neither in the changelog nor in the foo's package.json.

Reproduction

package version

Latest v1

Possible solution

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions