Skip to content

Scaffold plugin based on supported WordPress version#2751

Merged
danielbachhuber merged 1 commit into
wp-cli:masterfrom
miya0001:get-wp-version-number-automatically
May 15, 2016
Merged

Scaffold plugin based on supported WordPress version#2751
danielbachhuber merged 1 commit into
wp-cli:masterfrom
miya0001:get-wp-version-number-automatically

Conversation

@miya0001
Copy link
Copy Markdown
Member

  • Set latest version number to plugin's readme.txt and .travis.yml.
  • Update minimum WP version in .travis.yml to 3.7 (WP-CLI's minimum require).
  • Stable tag in readme.txt should has same value with Version in templates/plugin.mustache.

Thanks!

Comment thread features/scaffold.feature
- WP_VERSION=3.0.1 WP_MULTISITE=0
- WP_VERSION=3.4 WP_MULTISITE=0
- WP_VERSION=3.7 WP_MULTISITE=0
- WP_VERSION={WP_VERSION} WP_MULTISITE=0
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, clever :)

@danielbachhuber
Copy link
Copy Markdown
Member

Build fails on trunk because of #2744

@danielbachhuber danielbachhuber merged commit a3e790c into wp-cli:master May 15, 2016
@miya0001 miya0001 deleted the get-wp-version-number-automatically branch May 15, 2016 14:38
@danielbachhuber danielbachhuber changed the title get wp version when scaffolding plugin Scaffold plugin based on supported WordPress version Jul 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants