Releases - DoSomethingArchive/legacy-website GitHub Wiki
Releases
The 1.0.0 release will be a fully functional Drupal instance using the "dosomething" repo, and no longer using any code from the legacy "DoSomething-7.x" repo.
Versioning
The 1st digit is the big one. Once we get to 1.0.0, we can determine what 2.0.0 will be.
The 2nd digit indicates a feature release, where a new feature / functionality set has been added. Each feature release corresponds to a Github milestone, and card in our Trello product roadmap.
The 3rd digit is a minor release, for every time we push code.
See semver for more info: Semver
Creating Releases
Just like deployments, release creation has been abstracted to jenkins via a Hubot command. All you need to do is provided the version number and Hubot/Jenkins will do all of the work.
Usage
hubot release app v0.1.1
Example
@george release dosomething v.0.28
Semver example
@george release dosomething patch
Thats it. Seriously. Hubot then makes the request to the Jenkins job which pulls the dev branch down and creates a new tag. The tag is then pushed to Github, which in turn creates a "Release". You can now run a deployment with that tag number. See Deployments for more info
The master branch will be the canonical reference for releases in the future