mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 22:03:49 -07:00
misc(_release.php): Minor improvements (#1945)
* misc(_release.php): Minor improvements * Update _release.php
This commit is contained in:
parent
b6b38adea3
commit
e5811f9c66
1 changed files with 2 additions and 7 deletions
|
@ -118,15 +118,10 @@ runProcess('npx git-cliff v2.4.5-rc.2.. --config cliff.toml --tag "' . $version
|
|||
|
||||
// Git add & commit
|
||||
runProcess('git add -A && git commit -m "release: ' . escapeshellarg($version) . (!empty($versionEmoji) ? (' ' . $versionEmoji) : '') . '"');
|
||||
|
||||
$userName = 'belomaxorka';
|
||||
$userEmail = 'roman25052006.kelesh@gmail.com';
|
||||
$keyId = '0D496E7D57AEA4B6B017F379F34487C7A449A619';
|
||||
|
||||
$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 -a \"$version\" -m \"Release $version\"");
|
||||
runProcess("git tag -v \"$version\"");
|
||||
|
||||
// Git push
|
||||
runProcess("git push origin master");
|
||||
runProcess("git push origin $version");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue