Skip to content

Commit a54c1ed

Browse files
authored
infra(commit-and-tag-version): auto-bump version in usage-guide (#3250)
1 parent ef24bff commit a54c1ed

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.versionrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"scripts": {
3+
"postbump": "export VERSION=$(jq -r .version package.json); sed -i -E \"s/@faker-js\\/faker@v[0-9]+\\.[0-9]+\\.[0-9]+(-(alpha|beta|rc)\\.[0-9]+)?/@faker-js\\/faker@v$VERSION/g\" docs/guide/usage.md; git add docs/guide/usage.md"
4+
},
25
"skip": {
36
"tag": true
47
},

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"docs:test:e2e:ci": "run-s docs:build:ci docs:test:e2e:run",
2929
"docs:test:e2e:run": "run-p --race docs:serve \"cypress run\"",
3030
"docs:test:e2e:open": "run-p --race docs:serve \"cypress open\"",
31-
"release": "commit-and-tag-version",
31+
"release": "commit-and-tag-version --commit-all",
3232
"prepublishOnly": "pnpm run clean && pnpm install && pnpm run build",
3333
"preflight": "pnpm install && run-s generate format lint build test:update-snapshots ts-check"
3434
},

0 commit comments

Comments
 (0)