Changeset 2168772
- Timestamp:
- 10/05/2019 02:07:18 PM (6 years ago)
- Location:
- quantimodo/trunk
- Files:
-
- 3 edited
-
quantimodo.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
scripts/deploy.sh (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
quantimodo/trunk/quantimodo.php
r2168760 r2168772 2 2 /* 3 3 * Plugin Name: QuantiModo 4 * Version: 0. 5.94 * Version: 0.6.0 5 5 * Description: Allow your users to record, aggregate, analyze and visualize their health and life-tracking data. 6 6 * Author: QuantiModo -
quantimodo/trunk/readme.txt
r2168760 r2168772 3 3 Tags: social, science, quantified self, mood tracking, digital health, healthcare, mental health 4 4 Requires at least: 4.3 5 Stable tag: 0. 5.95 Stable tag: 0.6.0 6 6 License: GPLv2 or later 7 7 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
quantimodo/trunk/scripts/deploy.sh
r2168760 r2168772 1 1 #!/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 2 if [[ -z ${WP_ORG_PASS} ]]; then echo "Please set WP_ORG_PASS env" && exit 1; fi 3 if [[ -z ${WP_ORG_USER} ]]; then echo "Please set WP_ORG_USER env" && exit 1; fi 4 set -x 4 5 PLUGIN_SLUG="quantimodo" 5 6 CURRENT_DIR=`pwd` 6 7 MAIN_FILE="$PLUGIN_SLUG.php" # this should be the name of your main php file in the wordpress plugin 7 8 GIT_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.9 SVN_PATH="$CURRENT_DIR/tmp/$PLUGIN_SLUG" # path to a temp SVN repo. No trailing slash required and don't add trunk. 9 10 SVN_URL="http://plugins.svn.wordpress.org/$PLUGIN_SLUG/" # Remote SVN repo on wordpress.org, with no trailing slash 10 11 COMMIT_MSG="Deploy to WordPress.org via Jenkins" … … 53 54 # Add all new files that are not set to be ignored 54 55 echo "committing to trunk" 55 svn commit --username=${WP_ORG_USERNAME} --password=${WP_ORG_PASSWORD} -m "$COMMIT_MSG" --no-auth-cache 56 svn add * --force 57 set +x 58 svn commit --username=${WP_ORG_USER} --password=${WP_ORG_PASS} -m "$COMMIT_MSG" --no-auth-cache 59 set -x 56 60 echo "Updating WP plugin repo assets & committing" 57 61 cd ${SVN_PATH}/assets/ 58 svn commit --username=${WP_ORG_USERNAME} --password=${WP_ORG_PASSWORD} -m "Updating wp-repo-assets" --no-auth-cache 62 svn add * --force 63 set +x 64 svn commit --username=${WP_ORG_USER} --password=${WP_ORG_PASS} -m "Updating wp-repo-assets" --no-auth-cache 65 set -x 59 66 echo "Check if tagged version $NEW_VERSION1 exists" 60 67 cd ${SVN_PATH} … … 67 74 echo "integration.js not found!" && exit 1; 68 75 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 70 80 else 71 81 echo "tagged version $NEW_VERSION1 already exists!"
Note: See TracChangeset
for help on using the changeset viewer.