Plugin Directory

Changeset 3300243


Ignore:
Timestamp:
05/25/2025 03:17:19 PM (10 months ago)
Author:
boraboraio
Message:

Release 1.3.2

Location:
bora-bora
Files:
247 added
3 edited

Legend:

Unmodified
Added
Removed
  • bora-bora/trunk/README.txt

    r3300215 r3300243  
    44Donate link: https://bora-bora.io/
    55Tags: community, membership, subscription, paywall, user access
    6 Stable tag: 1.3.0
     6Stable tag: 1.3.2
    77Requires PHP: 8.2
    8 Tested up to: 6.5
     8Tested up to: 6.8
    99License: GPLv2
    1010Requires at least: 6.0
     
    3838
    3939== Changelog ==
     40
     41= 1.3.2 =
     42
     43* Add Logo and Screenshots for the plugin
    4044
    4145= 1.3.1 =
  • bora-bora/trunk/bora_bora.php

    r3300215 r3300243  
    1010 * Plugin URI:        https://bora-bora.io
    1111 * Description:       Bora Bora offers a complete solution for managing your community, from the subscription to the management of the users and their access to the content
    12  * Version:           1.3.1
     12 * Version:           1.3.2
    1313 * Author:            Bora Bora
    1414 * Author URI:        https://bora-bora.io/
     
    2929 * Currently plugin version.
    3030 */
    31 const BORABORAIO_VERSION = '1.3.1';
     31const BORABORAIO_VERSION = '1.3.2';
    3232
    3333/**
  • bora-bora/trunk/deploy.sh

    r3300215 r3300243  
    2828# === Extract version from plugin header ===
    2929VERSION=$(sed -nE 's/^[[:space:]]*\*[[:space:]]*Version:[[:space:]]*([0-9.]+).*$/\1/p' "$GIT_PLUGIN_DIR/bora_bora.php") || error_exit "Failed to read version from plugin file"
     30if [[ -z "$VERSION" ]]; then
     31  error_exit "Version is empty – check the header in bora_bora.php"
     32fi
    3033info_msg "Detected version: $VERSION"
    3134
     
    3336echo "== What do you want to do? =="
    3437read -p "1. Create ZIP file? (y/n): " DO_ZIP
    35 read -p "2. Push plugin to WordPress SVN? (y/n): " DO_SVN
     38read -p "2. Push full release to SVN (with new tag)? (y/n): " DO_SVN_FULL
     39
     40# Ask for trunk-only deployment only if full release is not selected
     41DO_SVN_TRUNK_ONLY="n"
     42if [[ "$DO_SVN_FULL" != "y" ]]; then
     43  read -p "3. Push only to trunk (no new tag)? (y/n): " DO_SVN_TRUNK_ONLY
     44fi
    3645
    3746# === Create ZIP file ===
     
    6271fi
    6372
    64 # === SVN deployment ===
    65 if [[ "$DO_SVN" == "y" ]]; then
    66   info_msg "Starting SVN deployment..."
     73# === Full SVN deployment (with tag) ===
     74if [[ "$DO_SVN_FULL" == "y" ]]; then
     75  info_msg "Starting full SVN deployment (with tag)..."
    6776
    6877  rm -rf "$TMP_SVN_DIR"
     
    7988  svn status
    8089
    81   read -p "Do you want to commit now? (y/n): " CONFIRM_COMMIT
     90  read -p "Do you want to commit this full release now? (y/n): " CONFIRM_COMMIT
    8291  if [[ "$CONFIRM_COMMIT" == "y" ]]; then
    8392    svn commit -m "Release $VERSION" --username "$SVN_USER" || error_exit "SVN commit failed"
     
    8695    info_msg "Commit aborted"
    8796  fi
    88 else
    89   info_msg "SVN deployment skipped"
    9097fi
     98
     99# === Trunk-only SVN update ===
     100if [[ "$DO_SVN_TRUNK_ONLY" == "y" ]]; then
     101  info_msg "Starting SVN trunk-only update..."
     102
     103  rm -rf "$TMP_SVN_DIR"
     104  svn checkout "$SVN_URL/trunk" "$TMP_SVN_DIR" --username "$SVN_USER" || error_exit "SVN trunk checkout failed"
     105
     106  rsync -av --exclude=".git" --exclude=".github" --exclude=".idea" "$GIT_PLUGIN_DIR/" "$TMP_SVN_DIR/" || error_exit "rsync failed for trunk-only"
     107
     108  cd "$TMP_SVN_DIR"
     109  svn add --force * --auto-props --parents --depth infinity -q
     110  svn status
     111
     112  read -p "Do you want to commit this trunk update now? (y/n): " CONFIRM_COMMIT_TRUNK
     113  if [[ "$CONFIRM_COMMIT_TRUNK" == "y" ]]; then
     114    svn commit -m "Update trunk for version $VERSION" --username "$SVN_USER" || error_exit "SVN trunk commit failed"
     115    success_msg "SVN trunk-only commit completed"
     116  else
     117    info_msg "Trunk-only commit aborted"
     118  fi
     119fi
Note: See TracChangeset for help on using the changeset viewer.