Plugin Directory

Changeset 2168772


Ignore:
Timestamp:
10/05/2019 02:07:18 PM (6 years ago)
Author:
mikepsinn
Message:

Deploy to WordPress.org via Jenkins

Location:
quantimodo/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • quantimodo/trunk/quantimodo.php

    r2168760 r2168772  
    22/*
    33 * Plugin Name: QuantiModo
    4  * Version: 0.5.9
     4 * Version: 0.6.0
    55 * Description: Allow your users to record, aggregate, analyze and visualize their health and life-tracking data.
    66 * Author: QuantiModo
  • quantimodo/trunk/readme.txt

    r2168760 r2168772  
    33Tags: social, science, quantified self, mood tracking, digital health, healthcare, mental health
    44Requires at least: 4.3
    5 Stable tag: 0.5.9
     5Stable tag: 0.6.0
    66License: GPLv2 or later
    77License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • quantimodo/trunk/scripts/deploy.sh

    r2168760 r2168772  
    11#!/usr/bin/env bash
    2 if [[ -z ${WP_ORG_PASSWORD} ]]; then echo "Please set WP_ORG_PASSWORD env" && exit 1; fi
    3 if [[ -z ${WP_ORG_USERNAME} ]]; then echo "Please set WP_ORG_USERNAME env" && exit 1; fi
     2if [[ -z ${WP_ORG_PASS} ]]; then echo "Please set WP_ORG_PASS env" && exit 1; fi
     3if [[ -z ${WP_ORG_USER} ]]; then echo "Please set WP_ORG_USER env" && exit 1; fi
     4set -x
    45PLUGIN_SLUG="quantimodo"
    56CURRENT_DIR=`pwd`
    67MAIN_FILE="$PLUGIN_SLUG.php" # this should be the name of your main php file in the wordpress plugin
    78GIT_PATH="$CURRENT_DIR" # this file should be in the base of your git repository
    8 SVN_PATH="/tmp/$PLUGIN_SLUG" # path to a temp SVN repo. No trailing slash required and don't add trunk.
     9SVN_PATH="$CURRENT_DIR/tmp/$PLUGIN_SLUG" # path to a temp SVN repo. No trailing slash required and don't add trunk.
    910SVN_URL="http://plugins.svn.wordpress.org/$PLUGIN_SLUG/" # Remote SVN repo on wordpress.org, with no trailing slash
    1011COMMIT_MSG="Deploy to WordPress.org via Jenkins"
     
    5354# Add all new files that are not set to be ignored
    5455echo "committing to trunk"
    55 svn commit --username=${WP_ORG_USERNAME} --password=${WP_ORG_PASSWORD} -m "$COMMIT_MSG" --no-auth-cache
     56svn add * --force
     57set +x
     58svn commit --username=${WP_ORG_USER} --password=${WP_ORG_PASS} -m "$COMMIT_MSG" --no-auth-cache
     59set -x
    5660echo "Updating WP plugin repo assets & committing"
    5761cd ${SVN_PATH}/assets/
    58 svn commit --username=${WP_ORG_USERNAME} --password=${WP_ORG_PASSWORD} -m "Updating wp-repo-assets" --no-auth-cache
     62svn add * --force
     63set +x
     64svn commit --username=${WP_ORG_USER} --password=${WP_ORG_PASS} -m "Updating wp-repo-assets" --no-auth-cache
     65set -x
    5966echo "Check if tagged version $NEW_VERSION1 exists"
    6067cd ${SVN_PATH}
     
    6774            echo "integration.js not found!" && exit 1;
    6875        fi
    69         svn commit --username=${WP_ORG_USERNAME} --password=${WP_ORG_PASSWORD} -m "Tagging version $NEW_VERSION1" --no-auth-cache
     76        svn add * --force
     77        set +x
     78        svn commit --username=${WP_ORG_USER} --password=${WP_ORG_PASS} -m "Tagging version $NEW_VERSION1" --no-auth-cache
     79        set -x
    7080    else
    7181        echo "tagged version $NEW_VERSION1 already exists!"
Note: See TracChangeset for help on using the changeset viewer.