mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
misc(_release.php): Use GPG
sign for tags by default
This commit is contained in:
parent
374a74c91f
commit
8daad3f392
1 changed files with 7 additions and 1 deletions
|
@ -118,7 +118,13 @@ runProcess('npx git-cliff v2.4.5-rc.2.. --config cliff.toml --tag "' . $version
|
||||||
|
|
||||||
// Git add & commit
|
// Git add & commit
|
||||||
runProcess('git add -A && git commit -m "release: ' . escapeshellarg($version) . (!empty($versionEmoji) ? (' ' . $versionEmoji) : '') . '"');
|
runProcess('git add -A && git commit -m "release: ' . escapeshellarg($version) . (!empty($versionEmoji) ? (' ' . $versionEmoji) : '') . '"');
|
||||||
runProcess("git tag -a \"$version\" -m \"Release $version\"");
|
|
||||||
|
$userName = 'Roman Kelesidis';
|
||||||
|
$userEmail = 'roman25052006.kelesh@gmail.com';
|
||||||
|
$keyId = '139C8E4A1A2B48233AE3EFEFD8157C4D4C4C6DB4';
|
||||||
|
|
||||||
|
$tagCmd = "git -c user.name=\"$userName\" -c user.email=\"$userEmail\" -c user.signingkey=\"$keyId\" tag -s -a \"$version\" -m \"Release $version\"";
|
||||||
|
runProcess($tagCmd);
|
||||||
runProcess("git tag -v \"$version\"");
|
runProcess("git tag -v \"$version\"");
|
||||||
|
|
||||||
// Git push
|
// Git push
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue