Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .distignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.git
.github
.gitignore
.distignore
.wordpress-org
.slimm
.phpunit.cache
tests
bin
phpunit.xml
composer.lock
build
*.zip
.DS_Store
languages/*.po
languages/*.mo
languages/*.l10n.php
*.l10n.php
14 changes: 10 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: Release

# Build a distributable plugin zip and attach it to the GitHub release whenever
# a version tag is pushed. The Datalumo plugin checks for updates against these
# release assets (see src/Support/UpdateChecker.php), so the zip must contain the
# Composer-built vendor/ directory — GitHub's auto-generated source zip does not.
# a version tag is pushed. The zip must contain the Composer-built vendor/
# directory — GitHub's auto-generated source archive does not.
on:
push:
tags:
Expand Down Expand Up @@ -52,14 +51,21 @@ jobs:
--exclude '.git' \
--exclude '.github' \
--exclude '.gitignore' \
--exclude '.distignore' \
--exclude '.wordpress-org' \
--exclude '.slimm' \
--exclude 'build' \
--exclude '*.zip' \
--exclude 'tests' \
--exclude 'bin' \
--exclude 'phpunit.xml' \
--exclude '.phpunit.cache' \
--exclude 'composer.lock'
--exclude '.DS_Store' \
--exclude 'composer.lock' \
--exclude 'languages/*.po' \
--exclude 'languages/*.mo' \
--exclude 'languages/*.l10n.php' \
--exclude '*.l10n.php'
(cd build && zip -rq datalumo.zip datalumo)

- name: Create release and upload asset
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ build/
*.zip
.slimm/
.phpunit.cache/
.DS_Store
languages/*.po
languages/*.mo
languages/*.l10n.php
Binary file added .wordpress-org/icon-128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .wordpress-org/icon-256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion bin/ensure-index-php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

$root = dirname(__DIR__);
$skip = ['.git', '.github', '.slimm', '.phpunit.cache'];
$skip = ['.git', '.github', '.slimm', '.phpunit.cache', '.wordpress-org', 'build'];
$contents = "<?php\n// Silence is golden.\n";

$iterator = new RecursiveIteratorIterator(
Expand Down
5 changes: 2 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@
],
"require": {
"php": ">=8.1",
"automattic/jetpack-autoloader": "^3.0",
"woocommerce/action-scheduler": "^3.0",
"yahnis-elsts/plugin-update-checker": "^5.7"
"automattic/jetpack-autoloader": "^6.0",
"woocommerce/action-scheduler": "^4.1"
},
"autoload": {
"psr-4": {
Expand Down
6 changes: 3 additions & 3 deletions datalumo.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
* Plugin Name: Datalumo
* Plugin URI: https://github.com/datalumo/wordpress
* Description: Sync your WordPress content to Datalumo and add AI-powered search and chat to your site.
* Version: 0.2.0
* Requires at least: 6.0
* Version: 1.0.0
* Requires at least: 6.8
* Requires PHP: 8.1
* Author: Datalumo
* Author URI: https://datalumo.app
Expand All @@ -25,7 +25,7 @@
}

if (! defined('DATALUMO_VERSION')) {
define('DATALUMO_VERSION', '0.2.0');
define('DATALUMO_VERSION', '1.0.0');
define('DATALUMO_FILE', __FILE__);
define('DATALUMO_DIR', __DIR__);
define('DATALUMO_URL', plugin_dir_url(__FILE__));
Expand Down
Binary file removed languages/datalumo-nl_NL.mo
Binary file not shown.
275 changes: 0 additions & 275 deletions languages/datalumo-nl_NL.po

This file was deleted.

Binary file removed languages/datalumo-zh_CN.mo
Binary file not shown.
Loading
Loading