Skip to content

Commit 2d68e0c

Browse files
zimegmwbrooks
andcommitted
build: move the docs version updates to the posthook script
Co-authored-by: Michael Brooks <michael@michaelbrooks.ca>
1 parent 022fcf3 commit 2d68e0c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"lint:fix": "biome check --write",
1212
"lint": "biome check",
1313
"test": "c8 mocha test/*.spec.js",
14-
"version": "TAG=\"v$(npm pkg get version | jq -r)\" && grep -rl 'slackapi/slack-github-action@v' ./docs ./example-workflows | xargs sed -i \"s|slackapi/slack-github-action@v.*|slackapi/slack-github-action@${TAG}|g\""
14+
"postversion": "TAG=\"v$(npm pkg get version | jq -r)\" && grep -rl 'slackapi/slack-github-action@v' ./docs ./example-workflows | xargs sed -i \"s|slackapi/slack-github-action@v.*|slackapi/slack-github-action@${TAG}|g\""
1515
},
1616
"repository": {
1717
"type": "git",

0 commit comments

Comments
 (0)