Skip to content

Running 'tns build android --release ...' uses *.debug.* files in build output #2934

@rowandh

Description

@rowandh

Did you verify this is a real problem by searching Stack Overflow and the other open issues in this repo?

Yes

Tell us about the problem

I have a solution with config.debug.json and config.release.json. Running 'tns build android --release' copies config.debug.json -> config.json. I expected it to copy config.release.json -> config.json

Which platform(s) does your issue occur on?

Only able to test on Android, but I'd imagine it occurs on both.

Please provide the following version numbers that your issue occurs with:

  • CLI: (run tns --version to fetch it)
    3.1.1

  • Cross-platform modules: (check the 'version' attribute in the
    node_modules/tns-core-modules/package.json file in your project)
    next (3.2.0-2017-06-28-7092)

  • Runtime(s): (look for the "tns-android" and "tns-ios" properties in the
    package.json file of your project)
    "tns-ios": {
    "version": "3.0.1"
    },
    "tns-android": {
    "version": "3.1.1"
    }

  • Plugin(s): (look for the version number in the package.json file of your
    project)
    See https://github.com/rowandh/sample-Groceries/blob/debug-release-bug/package.json

Please tell us how to recreate the issue in as much detail as possible.

My own compiled apk is in the 'apk' folder.

Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.

See https://github.com/rowandh/sample-Groceries/tree/debug-release-bug

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions