Compare commits
4 Commits
5.8.1
...
update-plu
Author | SHA1 | Date | |
---|---|---|---|
c3382d314e | |||
81180caccb | |||
10c82b687d | |||
00c9bf3dcd |
@ -197,7 +197,7 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: Download additional WP Plugins for tests
|
name: Download additional WP Plugins for tests
|
||||||
command: |
|
command: |
|
||||||
./do download:woo-commerce-zip 9.6.0
|
./do download:woo-commerce-zip 9.6.1
|
||||||
./do download:woo-commerce-subscriptions-zip 7.1.0
|
./do download:woo-commerce-subscriptions-zip 7.1.0
|
||||||
./do download:woo-commerce-memberships-zip 1.26.5
|
./do download:woo-commerce-memberships-zip 1.26.5
|
||||||
./do download:automate-woo-zip 6.1.5
|
./do download:automate-woo-zip 6.1.5
|
||||||
|
30
.woodpecker.yml
Normal file
30
.woodpecker.yml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
clone:
|
||||||
|
git:
|
||||||
|
image: woodpeckerci/plugin-git
|
||||||
|
settings:
|
||||||
|
depth: 1
|
||||||
|
|
||||||
|
steps:
|
||||||
|
build:
|
||||||
|
image: node:current-bookworm-slim
|
||||||
|
commands:
|
||||||
|
- apt update
|
||||||
|
- apt install php php-symfony bash -y
|
||||||
|
- npm install pnpm
|
||||||
|
- cd mailpoet
|
||||||
|
- bash build.sh
|
||||||
|
- mkdir ../output
|
||||||
|
- mv mailpoet.zip ../output
|
||||||
|
- cd ..
|
||||||
|
|
||||||
|
release:
|
||||||
|
image: woodpeckerci/plugin-gitea-release:latest
|
||||||
|
settings:
|
||||||
|
base_url: https://git.cavemanon.xyz
|
||||||
|
api_key:
|
||||||
|
from_secret: releasesmithapikey
|
||||||
|
files: "output/"
|
||||||
|
prerelease: false
|
||||||
|
title: "${CI_COMMIT_TAG}"
|
||||||
|
when:
|
||||||
|
- event: tag
|
@ -167,8 +167,6 @@ class Subscribers {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private function getFreeSubscribersLimit() {
|
private function getFreeSubscribersLimit() {
|
||||||
$installationTime = strtotime((string)$this->settings->get('installed_at'));
|
return 999999999;
|
||||||
$oldUser = $installationTime < strtotime(self::NEW_LIMIT_DATE);
|
|
||||||
return $oldUser ? self::SUBSCRIBERS_OLD_LIMIT : self::SUBSCRIBERS_NEW_LIMIT;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -75,7 +75,7 @@ services:
|
|||||||
- mailhog-data:/mailhog-data
|
- mailhog-data:/mailhog-data
|
||||||
|
|
||||||
wordpress:
|
wordpress:
|
||||||
image: wordpress:${WORDPRESS_IMAGE_VERSION:-6.7.1-php8.3}
|
image: wordpress:${WORDPRESS_IMAGE_VERSION:-6.7.2-php8.3}
|
||||||
container_name: wordpress_${CIRCLE_NODE_INDEX:-default}
|
container_name: wordpress_${CIRCLE_NODE_INDEX:-default}
|
||||||
depends_on:
|
depends_on:
|
||||||
smtp:
|
smtp:
|
||||||
|
Reference in New Issue
Block a user