Skip to content

Commit d170179

Browse files
committed
build: update commit messages to match current commit guidelines
1 parent f9b305a commit d170179

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tools/scripts/npm_publish

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# See the License for the specific language governing permissions and
1717
# limitations under the License.
1818

19-
# shellcheck disable=SC2181
19+
# shellcheck disable=SC2181,SC2016
2020

2121
# Publishes a new version of the project to the npm package registry.
2222
#
@@ -227,7 +227,7 @@ update_package_meta_data() {
227227
if [[ -n "$(git status --porcelain)" ]]; then
228228
echo '' >&2
229229
echo 'Committing changes...' >&2
230-
git add -A && git commit -m 'Update directories meta data'
230+
git add -A && git commit -m 'chore: update directories meta data'
231231
if [[ "$?" -ne 0 ]]; then
232232
echo '' >&2
233233
echo 'Error: unexpected error. Unable to commit changes.' >&2
@@ -279,7 +279,7 @@ update_namespace_tocs() {
279279
if [[ -n "$(git status --porcelain)" ]]; then
280280
echo '' >&2
281281
echo 'Committing changes...' >&2
282-
git add -A && git commit -m 'Update namespace ToCs'
282+
git add -A && git commit -m 'docs: update namespace ToCs'
283283
if [[ "$?" -ne 0 ]]; then
284284
echo '' >&2
285285
echo 'Error: unexpected error. Unable to commit changes.' >&2
@@ -308,7 +308,7 @@ update_markdown_related() {
308308
if [[ -n "$(git status --porcelain)" ]]; then
309309
echo '' >&2
310310
echo 'Committing changes...' >&2
311-
git add -A && git commit -m 'Update related packages'
311+
git add -A && git commit -m 'docs: update related packages'
312312
if [[ "$?" -ne 0 ]]; then
313313
echo '' >&2
314314
echo 'Error: unexpected error. Unable to commit changes.' >&2
@@ -337,7 +337,7 @@ update_markdown_package_urls() {
337337
if [[ -n "$(git status --porcelain)" ]]; then
338338
echo '' >&2
339339
echo 'Committing changes...' >&2
340-
git add -A && git commit -m 'Update package URLs'
340+
git add -A && git commit -m 'docs: update package URLs'
341341
if [[ "$?" -ne 0 ]]; then
342342
echo '' >&2
343343
echo 'Error: unexpected error. Unable to commit changes.' >&2
@@ -366,7 +366,7 @@ update_repl_docs() {
366366
if [[ -n "$(git status --porcelain)" ]]; then
367367
echo '' >&2
368368
echo 'Committing changes...' >&2
369-
git add -A && git commit -m 'Update REPL docs'
369+
git add -A && git commit -m 'docs: update REPL docs'
370370
if [[ "$?" -ne 0 ]]; then
371371
echo '' >&2
372372
echo 'Error: unexpected error. Unable to commit changes.' >&2
@@ -473,7 +473,7 @@ publish_bundles() {
473473
if [[ -n "$(git status --porcelain)" ]]; then
474474
echo '' >&2
475475
echo 'Committing changes...' >&2
476-
git add -A && git commit -m 'Update dist versions'
476+
git add -A && git commit -m 'build: update dist versions'
477477
if [[ "$?" -ne 0 ]]; then
478478
echo '' >&2
479479
echo 'Error: unexpected error. Unable to commit changes.' >&2

0 commit comments

Comments
 (0)