mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-06-26 08:16:44 +03:00
Added #821
This commit is contained in:
parent
a88c2e94f9
commit
de38c3b3e9
28 changed files with 2400 additions and 1 deletions
10
release.php
10
release.php
|
|
@ -2,7 +2,7 @@
|
|||
<?php
|
||||
chdir(__DIR__);
|
||||
|
||||
$options = getopt('', ['aur','docker','plugins','set-version','skip-gulp','debian','nextcloud','sign','cpanel']);
|
||||
$options = getopt('', ['aur','docker','plugins','set-version','skip-gulp','debian','nextcloud','owncloud','sign','cpanel']);
|
||||
|
||||
if (isset($options['plugins'])) {
|
||||
require(__DIR__ . '/build/plugins.php');
|
||||
|
|
@ -183,6 +183,10 @@ if (isset($options['nextcloud'])) {
|
|||
require(__DIR__ . '/build/nextcloud.php');
|
||||
}
|
||||
|
||||
if (isset($options['owncloud'])) {
|
||||
require(__DIR__ . '/build/owncloud.php');
|
||||
}
|
||||
|
||||
if (isset($options['cpanel'])) {
|
||||
require(__DIR__ . '/build/cpanel.php');
|
||||
}
|
||||
|
|
@ -268,6 +272,10 @@ if (isset($options['sign'])) {
|
|||
passthru('gpg --local-user 1016E47079145542F8BA133548208BA13290F3EB --armor --detach-sign '
|
||||
.escapeshellarg("{$destPath}snappymail-{$package->version}-nextcloud.tar.gz"), $return_var);
|
||||
}
|
||||
if (isset($options['owncloud'])) {
|
||||
passthru('gpg --local-user 1016E47079145542F8BA133548208BA13290F3EB --armor --detach-sign '
|
||||
.escapeshellarg("{$destPath}snappymail-{$package->version}-owncloud.tar.gz"), $return_var);
|
||||
}
|
||||
if (isset($options['cpanel'])) {
|
||||
passthru('gpg --local-user 1016E47079145542F8BA133548208BA13290F3EB --armor --detach-sign '
|
||||
.escapeshellarg("{$destPath}snappymail-{$package->version}-cpanel.tar.gz"), $return_var);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue