Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/nxPublic

Cannot use both nx release version subcommand and nx release main command with the same config #33388

Open
Labels
@DavidVollmers

Description

@DavidVollmers

Current Behavior

In my mono repository I have an electron app which i build on all three platforms before then creating a release with nx release. To make sure that all three builds have the correct version applied I usenx release version in each build job. Then I want to use thenx release to create a github release and actually commit the version + changelog.

Unfortunately this is not possible because to configure the commit message i have to use the "release.git" config in my nx.json but then thenx release version command fails because of it:

The "release.git" property in nx.json may not be used with the "nx release version" subcommand or programmatic API. Instead, configure git options for subcommands directly with "release.version.git" and "release.changelog.git".

This limitation does not allow using both the sub commands and the main command independently and I wonder why this limitation was ever set in the first place...

Expected Behavior

Allow using both sub and main release commands with same nx.json config.

GitHub Repo

No response

Steps to Reproduce

  1. See above

Nx Report

NX   Reportcomplete - copy this into the issue templateNode: 22.20.0OS: win32-x64Native Target: x86_64-windowsnpm: 10.9.3nx: 21.6.2@nx/js: 21.6.2@nx/eslint: 21.6.2@nx/workspace: 21.6.2@nx/devkit: 21.6.2@nx/eslint-plugin: 21.6.2@nx/module-federation: 21.6.2@nx/react: 21.6.2@nx/rollup: 21.6.2@nx/vite: 21.6.2@nx/web: 21.6.2typescript: 5.9.2---------------------------------------Registered Plugins:@nx/eslint/plugin@nx/vite/plugin---------------------------------------

Failure Logs

NX   The"release.git" propertyin nx.json may not be used with the"nx release version" subcommand or programmatic API. Instead, configure git optionsfor subcommands directly with"release.version.git" and"release.changelog.git".

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

I need to configure the commit message to include "[no ci]" to not trigger another workflow run

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp