semver icon indicating copy to clipboard operation
semver copied to clipboard

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

Open SunStupic opened this issue 5 months ago • 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?

SunStupic avatar Jan 17 '24 05:01 SunStupic