Skip to content

Commit 51477b7

Browse files
committed
feat: add git build scope
1 parent e6e9078 commit 51477b7

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

lib/debian-repository.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export default class DebianRepository {
8686
res = await git.exec( [ "init", "--initial-branch", "dists", this.distsRoot ] );
8787
if ( !res.ok ) return res;
8888

89-
res = await git.exec( [ "commit", "--allow-empty", "-m", "chore(dists): init" ] );
89+
res = await git.exec( [ "commit", "--allow-empty", "-m", "chore(build): init" ] );
9090
if ( !res.ok ) return res;
9191

9292
res = await git.exec( [ "push", "--set-upstream", upstream.sshCloneUrl, "dists" ] );
@@ -335,7 +335,7 @@ export default class DebianRepository {
335335
if ( !res.ok ) return res;
336336

337337
// overwrite the first commit
338-
res = await this.git.exec( [ "commit", "--amend", "-m", "chore(dists): update distributions" ] );
338+
res = await this.git.exec( [ "commit", "--amend", "-m", "chore(build): update distributions" ] );
339339
if ( !res.ok ) return res;
340340

341341
// push

resources/cli.config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,6 @@ commits:
8383

8484
primaryScopes: ~
8585

86-
secondaryScopes: [deps, docs, metadata, release, style]
86+
secondaryScopes: [build, deps, docs, metadata, release, style]
8787

8888
docs: ~

0 commit comments

Comments
 (0)