Skip to content

Commit 73cf5dd

Browse files
committed
Create tag for each upgrade
1 parent 89cae6d commit 73cf5dd

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

gulpfile.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,17 @@ ${formatPackageUpgrades(validUpgrades)}`);
121121
],
122122
{ stdio: 'inherit' }
123123
);
124+
spawn.sync(
125+
'git',
126+
[
127+
'tag',
128+
'--sign',
129+
'--message',
130+
`Automatic ${upgradeType} upgrade of ${name} to ${newVersion} (from ${version})`,
131+
`${name}_${newVersion}`,
132+
],
133+
{ stdio: 'inherit' }
134+
);
124135

125136
if (
126137
manifest.files

0 commit comments

Comments
 (0)