1 Commits
Author SHA1 Message Date
MeghdadFadaee e7d718cd0e fix: build Gitea release archive without rsync
Build plugin release / release (push) Successful in 4s
2026-08-24 10:09:08 +03:30
3 changed files with 12 additions and 12 deletions
+4
View File
@@ -0,0 +1,4 @@
/.gitattributes export-ignore
/.gitignore export-ignore
/.gitea export-ignore
/test export-ignore
+6 -10
View File
@@ -21,16 +21,12 @@ jobs:
run: | run: |
VERSION="${RELEASE_TAG#v}" VERSION="${RELEASE_TAG#v}"
grep -q "Version: ${VERSION}$" dabestaniha-authenticate-bridge.php grep -q "Version: ${VERSION}$" dabestaniha-authenticate-bridge.php
mkdir -p build/mahak-authenticate-bridge dist mkdir -p dist
rsync -a \ git archive \
--exclude='.git/' \ --format=zip \
--exclude='.gitea/' \ --prefix=mahak-authenticate-bridge/ \
--exclude='build/' \ --output=dist/mahak-authenticate-bridge.zip \
--exclude='dist/' \ HEAD
--exclude='test/' \
./ build/mahak-authenticate-bridge/
cd build
zip -qr ../dist/mahak-authenticate-bridge.zip mahak-authenticate-bridge
- name: Publish Gitea release - name: Publish Gitea release
env: env:
+2 -2
View File
@@ -4,7 +4,7 @@
* Plugin Name: Mahak Authenticate Bridge * Plugin Name: Mahak Authenticate Bridge
* Plugin URI: https://mahgit.ir/dabestaniha/mahak-authenticate-bridge * Plugin URI: https://mahgit.ir/dabestaniha/mahak-authenticate-bridge
* Description: Authenticate WordPress user via json web token from Mahakiha Application. * Description: Authenticate WordPress user via json web token from Mahakiha Application.
* Version: 2.2.2 * Version: 2.2.3
* Requires PHP: 7.4 * Requires PHP: 7.4
* Update URI: https://mahgit.ir/dabestaniha/mahak-authenticate-bridge * Update URI: https://mahgit.ir/dabestaniha/mahak-authenticate-bridge
* Author: Dabestaniha * Author: Dabestaniha
@@ -18,7 +18,7 @@ use Dabestaniha\AuthenticateBridge\App\Http\Controllers\SettingsPageMenuControll
use Dabestaniha\AuthenticateBridge\App\Http\Controllers\SettingsPageFormController; use Dabestaniha\AuthenticateBridge\App\Http\Controllers\SettingsPageFormController;
use Dabestaniha\AuthenticateBridge\App\Support\PluginUpdater; use Dabestaniha\AuthenticateBridge\App\Support\PluginUpdater;
define('MAHAK_AUTHENTICATE_BRIDGE_VERSION', '2.2.2'); define('MAHAK_AUTHENTICATE_BRIDGE_VERSION', '2.2.3');
define('MAHAK_AUTHENTICATE_BRIDGE_FILE', __FILE__); define('MAHAK_AUTHENTICATE_BRIDGE_FILE', __FILE__);
require_once __DIR__.'/src/Autoloader.php'; require_once __DIR__.'/src/Autoloader.php';