aboutsummaryrefslogtreecommitdiffhomepage
path: root/.release-it.json
blob: 7060bbe0256db3201ba70dd512bbda81d27bfb86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
  "hooks": {
    "before:init": [
      "npm run lint",
      "npm run test",
      "cd frontend && npm run validate-json && npm run build"
    ],
    "before:release": [
      "sh ./bin/deployBackend.sh",
      "cd frontend && firebase deploy -P live --only hosting",
      "sh ./bin/purgeCfCache.sh"
    ]
  },
  "git": {
    "commitMessage": "chore: release v${version}",
    "requireCleanWorkingDir": false,
    "changelog": "node bin/buildChangelog.mjs"
  },
  "github": {
    "release": true
  },
  "npm": {
    "publish": false,
    "ignoreVersion": true
  },
  "plugins": {
    "@csmith/release-it-calver-plugin": {
      "format": "yy.ww.minor",
      "increment": "calendar.minor"
    }
  }
}