jscutlery/semver

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

SunStupic opened this issue · 1 comments

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 commented

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.