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
14 changes: 14 additions & 0 deletions .distignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
.git
.github
.gitignore
.distignore
.wordpress-org
.slimm
.phpunit.cache
tests
bin
phpunit.xml
composer.lock
build
*.zip
.DS_Store
8 changes: 5 additions & 3 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,13 +51,16 @@ 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 '.DS_Store' \
--exclude 'composer.lock'
(cd build && zip -rq datalumo.zip datalumo)

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ build/
*.zip
.slimm/
.phpunit.cache/
.DS_Store
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
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
"require": {
"php": ">=8.1",
"automattic/jetpack-autoloader": "^3.0",
"woocommerce/action-scheduler": "^3.0",
"yahnis-elsts/plugin-update-checker": "^5.7"
"woocommerce/action-scheduler": "^3.0"
},
"autoload": {
"psr-4": {
Expand Down
4 changes: 2 additions & 2 deletions datalumo.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* 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
* Version: 1.0.0
* Requires at least: 6.0
* Requires PHP: 8.1
* Author: Datalumo
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 modified languages/datalumo-nl_NL.mo
Binary file not shown.
Loading
Loading