Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial version in manifest file is being ignored #2397

Open
seyaobey-dev opened this issue Oct 3, 2024 · 2 comments
Open

Initial version in manifest file is being ignored #2397

seyaobey-dev opened this issue Oct 3, 2024 · 2 comments
Assignees
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. type: question Request for information or clarification. Not an issue.

Comments

@seyaobey-dev
Copy link

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 seyaobey-dev added priority: p3 Desirable enhancement or fix. May not be included in next release. type: question Request for information or clarification. Not an issue. labels Oct 3, 2024
@seyaobey-dev
Copy link
Author

Any suggestion about above issue? thanks for the assistance.

@johnitvn
Copy link

johnitvn commented Nov 17, 2024

You can try set in config json file

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. type: question Request for information or clarification. Not an issue.
Projects
None yet
Development

No branches or pull requests

3 participants