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

Is it possible to exclude some projects when bumping version with synced mode. #770

Open
SunStupic opened this issue Jan 17, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@SunStupic
Copy link

We have a mixed monorepo. There're some webapps served individually and some libs published to be reused.

I'm using a non-commit style to create tags with release note for each commit on master branch.

{
  "name": "workspace",
  "$schema": "node_modules/nx/schemas/project-schema.json",
  "targets": {
    "version": {
      "executor": "@jscutlery/semver:version",
      "options": {
        "preset": "conventional",
        "tagPrefix": "v",
        "syncVersions": true,
        "skipCommit": true,
        "skipProjectChangelog": true,
        "postTargets": ["workspace:github"]
      }
    },
    "github": {
      "executor": "@jscutlery/semver:github",
      "options": {
        "target": "master",
        "tag": "${tag}",
        "notes": "${notes}"
      }
    },

When commits for the webapps comes to master branch, we don't actually want to log the change log in the tag.

Could I exclude some apps/libs when doing the version command?

@edbzn edbzn added the enhancement New feature or request label Jan 17, 2024
@edbzn
Copy link
Member

edbzn commented Jan 17, 2024

Hi @SunStupic, no it's not possible in the actual state. It would be possible with the grouping support but we don't have it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants