-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhance Composer Integration and More #100
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
raamdev
added a commit
to wpsharks/comet-cache-pro
that referenced
this pull request
May 25, 2016
Automated GitHub releases via Phing. See: https://github.com/websharks/phings/wiki/GitHub-Releases |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
%now
in version strings.project_version = %y%m%d.%now
%now
=time() % 86400
... See also: http://semver.org/160525.49351
, where.49351
is a minor version represented by the current number of seconds into the current day. Using versions like this in our build process can make it easier to maintain projects that are commonly updated more than once each day; e.g., the WPSC.Noting that$ phing release
depends on a PEAR extension.$ pear install VersionControl_Git-0.4.4;
on a Mac.<exec command="git ...
.require-dev
During Build #90 & resolved issue in Improve Composer dependency handling in Lite build #88 (however, see note below).composer install
.$ phing release -D interactive=true
. Theinteractive
flag is off by default now, so that it's not necessary to answer prompts. If you want to take extra care during a release you can enter interactive mode where you are given a choice before things occur; e.g., prompted to commit and push changes in lite repo variation. However, I consider this interactive mode to be deprecated now; i.e., that's why it's off by default now. The next checklist items covers some of the new$ phing release
functionality. Given the new functionality, it's not expected that an operator would need to answer prompts during an automated release process.#88 has been resolved in this branch. However, in order for this issue to go away in existing repos there is an action required. In Comet Cache Pro's
composer.json
file we have this:After that section, we need to add a new section that is specifically for the lite variation.