All Projects → seb86 → github-to-wordpress-deploy-script

seb86 / github-to-wordpress-deploy-script

Licence: GPL-3.0 license
Bash script to handle tagging on GitHub and deployment to WordPress SVN

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to github-to-wordpress-deploy-script

tech-share
每周技术分享,点击watch,更新时收到推送
Stars: ✭ 17 (-19.05%)
Mutual labels:  svn
jbh
(JBH) Jekyll Blog Helper - A shell script to help manage a jekyll weblog site
Stars: ✭ 26 (+23.81%)
Mutual labels:  bash-script
CTF-Script-And-Template-Thrift-Shop
[180+ scripts] There are a few genuine gems in there. And a lot of spaghetti code. Most of these scripts were for solving CTF's. If you googles something for a CTF and landed here look at the scripts they're all fairly malleable. Sorry for the shitty naming conventions (not really). If you are a recruiter stop. I wont be able to rewrite half thi…
Stars: ✭ 38 (+80.95%)
Mutual labels:  bash-script
freshubuntu
Handy things for setting up a new Ubuntu 16.04 - 20.04 server
Stars: ✭ 15 (-28.57%)
Mutual labels:  bash-script
Pinaak
A vulnerability fuzzing tool written in bash, it contains the most commonly used tools to perform vulnerability scan
Stars: ✭ 69 (+228.57%)
Mutual labels:  bash-script
scout
Reading and writing in JSON, Plist, YAML and XML data made simple when the data format is not known at build time. Swift library and command-line tool.
Stars: ✭ 110 (+423.81%)
Mutual labels:  bash-script
raspberryTools
Some useful tools for Raspberry Pi
Stars: ✭ 24 (+14.29%)
Mutual labels:  bash-script
rsm
Reverse shell manager using tmux and ncat
Stars: ✭ 29 (+38.1%)
Mutual labels:  bash-script
dockertex
🐋📓📽 Latex & Texstudio Dockerfiles with multiple texlive versions and proper command line tools 🔮 Mirror only!
Stars: ✭ 26 (+23.81%)
Mutual labels:  bash-script
Bash
Collection of bash scripts I wrote to make my life easier or test myself that you may find useful.
Stars: ✭ 19 (-9.52%)
Mutual labels:  bash-script
Dotfiles
Passionately crafted configs for CLI lovers 🐧❤️
Stars: ✭ 70 (+233.33%)
Mutual labels:  bash-script
HostEnumerator
A tool that automates the process of enumeration
Stars: ✭ 29 (+38.1%)
Mutual labels:  bash-script
dotfiles
my dot files with git and docker extension for windows and linux
Stars: ✭ 13 (-38.1%)
Mutual labels:  bash-script
cylon-deb
TUI menu driven bash shell script to update and maintain a Debian based Linux distro.
Stars: ✭ 23 (+9.52%)
Mutual labels:  bash-script
bashew
bash script micro-framework - from small stand-alone script to complex projects with CI/CD and testing
Stars: ✭ 139 (+561.9%)
Mutual labels:  bash-script
yukicpl
一个简单的基于bash的服务器管理面板
Stars: ✭ 20 (-4.76%)
Mutual labels:  bash-script
GRC-SECURITY-NOW-PODCAST-DOWNLOAD-SCRIPT
Purpose of this BASH script is to allow easy downloading of Security Now (GRC.Com/SecurityNow) podcasts and files related to it.
Stars: ✭ 23 (+9.52%)
Mutual labels:  bash-script
pdfScale
Bash Script to Scale and Resize PDFs using Ghostscript
Stars: ✭ 131 (+523.81%)
Mutual labels:  bash-script
Converto
Installing Kali linux on Vps Server
Stars: ✭ 100 (+376.19%)
Mutual labels:  bash-script
Reconky-Automated Bash Script
Reconky is an great Content Discovery bash script for bug bounty hunters which automate lot of task and organized in the well mannered form which help them to look forward.
Stars: ✭ 167 (+695.24%)
Mutual labels:  bash-script

GitHub to WordPress.org Deployment Script

A simple deploy script to push any branch from your GitHub repository to your WordPress.org plugin SVN for a new release.

Quick Links: Overview | Features | Usage | Contribute

Follow me

💻 Website 🐦Twitter

🔔 Overview

Releasing WordPress plugins can be quite a chore so a script that handles all of that for you is very helpful. This allows you to do that.

This script is dummy proof and you do NOT need to configure anything so long as you have setup your GIT and SVN login globally. This is to insure you have write permission. Otherwise you will be asked to login every step of the way a GIT or SVN command runs before it proceeds.

Just run the script and follow the instructions as you go along and your new release will be up in no time.

😄 Is This Free?

Yes, it's free. But here's what you should really care about:

  • Steps are easy to understand.
  • Does everything for you.

What's the Catch?

This is a non-commercial script. As such:

  • Development time for it is effectively being donated and is therefore, limited.
  • Support inquiries may not be answered in a timely manner.
  • Critical issues may not be resolved promptly.

Please understand that this repository is not a place to seek help. Use it to report bugs, propose improvements, or discuss new features.

✔️ Features

  • Supports HTTPS and SSH connections.
  • Specify your remote when fetching from your repository.
  • Supports Windows if you have TortoiseSVN installed.

What does the script do?

This script will pull down your remote GIT and SVN repositories, tag a release using the branch you specify, and commit everything to WordPress.org.

As you run the script it will asks questions at certain points to setup the process of the script such as the ROOT Path of your plugin, your GitHub username, repository slug etc.

When it comes to ask for which version you want to release it checks if it has already been tagged before continuing the rest of the script.

The following file types are removed from the parent directory of the plugin location to keep it clean from any development/repository files that the plugin does not need with the release.

* .git
* .github
* .wordpress-org
* tests
* apigen
* node_modules
* src
* .babelrc
* .editorconfig
* .eslintignore
* .eslintrc.json
* .gitattributes
* .gitignore
* .gitmodules
* gulpfile.js
* *.md (Any MarkDown file)
* *.rb (Any ruby file)
* *.sh (Any bash scripts)
* *.lock
* .coveralls.yml
* .scrutinizer.yml
* .travis.yml
* *.yml (Any other YML files)
* Gruntfile.js
* composer.json
* package.json
* package-lock.json
* .jscrsrc
* .jshintrc
* phpunit.xml
* phpunit.xml.dist
* *.xml (Any other XML files)
* .editorconfig
* apigen.neon
* screenshot-*.jpg
* screenshot-*.png

Don't see a file that needs to be removed. Create an issue and let me know which file or folder that needs to be removed.

Requirements

To use the script you must:

  1. Host your code on GitHub.
  2. Already have a WordPress.org SVN repository setup for your plugin.
  3. Have both GIT and SVN setup on your machine and available from the command line.

Usage

  1. Open up terminal/command prompt and change to the directory containing the script.
  2. Run: sh release.sh
  3. Follow the prompts.

Feedback

GitHub to WordPress.org Deployment Script is released freely and openly. Feedback or ideas and approaches to solving limitations in GitHub to WordPress.org Deployment Script is greatly appreciated.

📝 Reporting Issues

If you think you have found a bug in the script, please open a new issue and I will do my best to help you out.

👍 Contribute

If you or your company use GitHub to WordPress.org Deployment Script or appreciate the work I’m doing in open source, please consider supporting me directly so I can continue maintaining it and keep evolving the project.

You'll be helping to ensure I can spend the time not just fixing bugs, adding features or releasing new versions but also keeping the project afloat. Any contribution you make is a big help and is greatly appreciated.

Please also consider starring and sharing 👍 the project repository! This helps the project getting known and grow with the community. 🙏

I accept one-time donations and monthly via BuyMeACoffee.com

  • My PayPal
  • BuyMeACoffee.com
  • Bitcoin (BTC): 3L4cU7VJsXBFckstfJdP2moaNhTHzVDkKQ
  • Ethereum (ETH): 0xc6a3C18cf11f5307bFa11F8BCBD51F355b6431cB
  • Litecoin (LTC): MNNy3xBK8sM8t1YUA2iAwdi9wRvZp9yRoi

Thank you for your support! 🙌

Final Notes

  • This will checkout the remote version of your GitHub repository.
  • Committing to WordPress.org can take a while so be patient.
  • Use at your own risk of course 😄
Credits

GitHub to WordPress.org Deployment Script is developed and maintained by Sébastien Dumont.


Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].