Coder Social home page Coder Social logo

a1iashoor / github-to-wordpress-plugin-directory-deployment-script Goto Github PK

View Code? Open in Web Editor NEW

This project forked from deanc/wordpress-plugin-git-svn

0.0 1.0 0.0 170 KB

Deploys a WordPress plugin from Github (git) to the WordPress Plugin Repostiory (svn)

github-to-wordpress-plugin-directory-deployment-script's Introduction

Github to WordPress Plugin Directory Deployment Script

Deploys a WordPress plugin from Github (git) to the WordPress Plugin Repostiory (svn)

Features

  • Prompts for plugin slug and commit message
  • Verifies plugin header version number matches readme stable version number
  • Commits local version to github and tags
  • Copies git export to svn trunk
  • Removes git specific files (.gitignore, readme.md) from trunk
  • Commits to svn trunk, and creates new svn tag

Use

Place in parent directory (e.g. wp-content/plugins/) and run as ./deploy.sh (may need to chmod 0755 first)

History

Adapted from https://github.com/thenbrent/multisite-user-management/blob/master/deploy.sh

thenbrent's version was a modification of Dean Clatworthy's deploy script found at https://github.com/deanc/wordpress-plugin-git-svn

Changes

  • Don't require existing SVN (thenbrent)
  • Move from plugin repo to parent
  • Prompt for plugin slug
  • SVN 1.6 compatibility (svn propset before exporting from git)
  • Capitalized the "P" in WordPress

Note

This deployment script does everything. Once it's run your plugin will be updated on WordPress and pushed out to all your users.

github-to-wordpress-plugin-directory-deployment-script's People

Contributors

benbalter avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.