Skip to content

ahmadawais/wp-release-it

Repository files navigation

wp-release-it

DOWNLOADS Learn VSCode Follow @MrAhmadAwais on Twitter

WordPress plugin release automation that works.


wp-release-it

  • 🚀 Update your WordPress plugin version with ease.
  • 🤯 Define custom version of the "Tested up to" version
  • 🤖 Update the "Tested up to" version to the latest version of WordPress.

⚙️

Usage

Release a new version of your WordPress plugins or just update the Tested up to WordPress version.

  • --latest, -l Update "Tested up to" to the latest WordPress version.
  • --custom, -c Update "Tested up to" to a custom WordPress version.
  • --tag, -t Release a new version of the WordPress plugin.
# Interactive mode: Asks questions.
npx wp-release-it

# Power mode: specify the flags and run in one go.

# 1. Release a new version of the WordPress plugin.
npx wp-release-it major      # Releases a major version.      E.g. from 1.4.7 to 2.0.0
npx wp-release-it premajor   # Releases a major version.      E.g. from 1.4.7 to 2.0.0-0
npx wp-release-it minor      # Releases a minor version.      E.g. from 1.4.7 to 1.5.0
npx wp-release-it preminor   # Releases a preminor version.   E.g. from 1.4.7 to 1.5.0-0
npx wp-release-it patch      # Releases a patch version.      E.g. from 1.4.7 to 1.4.8
npx wp-release-it prepatch   # Releases a prepatch version.   E.g. from 1.4.7 to 1.4.8-0
npx wp-release-it prerelease # Releases a prerelease version. E.g. from 1.4.7 to 1.4.8-0

# 2. Or define a custom tag to release a custom version.
npx wp-release-it --tag 2.5.0
npx wp-release-it -t 2.5.0

# 3. Update the "Tested up to" version to the latest version of WordPress.
npx wp-release-it --latest
npx wp-release-it -l

# 4. Set a custom version to as the "Tested up to" version (e.g. setting 5.4.0 before its release).
npx wp-release-it --custom 5.4.0
npx wp-release-it -c 5.4.0

# 5. You can also run multiple commands at once:
npx wp-release-it -t 2.5.0 -c 5.4.0
npx wp-release-it -t 2.5.0 -l

# 6. Help/usage/version.
npx wp-release-it --help    # Prints the wp-release-it help.
npx wp-release-it --version # Prints the wp-release-it version.

👋 MOAR: I use wp-release-it by first setting up wp-continuous-deployment. Share feedback on Twitter →


📝

Changelog

❯ Read the changelog here →


KEY: 📦 NEW, 👌 IMPROVE, 🐛 FIX, 📖 DOC, 🚀 RELEASE, and ✅ TEST

I use Emoji-log, you should try it and simplify your git commits.


📃

License & Conduct


🙌

Connect

GitHub @AhmadAwais (follow) To stay up to date on free & open-source software

Twitter @MrAhmadAwais (follow) To get #OneDevMinute daily hot tips & trolls

YouTube AhmadAwais (subscribe) To tech talks & #OneDevMinute videos

Blog: AhmadAwais.com (read) In-depth & long form technical articles

LinkedIn @MrAhmadAwais (connect) On the LinkedIn profile y'all

About

WordPress plugin release automation that works.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published