googleapis / release-please

generate release PRs based on the conventionalcommits.org spec
https://www.conventionalcommits.org
Apache License 2.0
4.94k stars 369 forks source link

Initial version in manifest file is being ignored #2397

Open seyaobey-dev opened 1 month ago

seyaobey-dev commented 1 month ago

I am trying release-please for the first time in an existing react-native expo project (monorepo project with turborepo). This current version of the project is 1.0.90. I am attempting to set this initial version in the manifest json file. But it is being ignore.

First of all, this is the content of the release-please-config file

{
    "bootstrap-sha": "xxx",
    "packages": {
        "apps/native": {
            "release-type": "expo"
        }
    }
}

And this is the .release-please-manifest.json

{
    "apps/native": "1.0.91"
}

Here is the PR created by release-please. Observe that the initial version 1.0.90 is being override by the default 1.1.0. What am I doing wrong or what did I forget so that release-please can start at 1.0.90? Thanks for the assistance

image

seyaobey-dev commented 1 month ago

Any suggestion about above issue? thanks for the assistance.

johnitvn commented 1 week ago

You can try set in config json file

{
  "packages": {
        "apps/native": {
            "release-type": "expo",
            "initial-version": "1.0.91"
        }
    }
}