Skip to content

Commit

Permalink
Update RELEASING.md for 1.0.0+
Browse files Browse the repository at this point in the history
MSP-12643

Called `metasploit-version install --major 1 --minor 0 --patch 0
--no-bundle-install --ruby-versions ruby-2.1` to get the `--major 1`+
version of RELEASING.md and then reverted changes overridden in
metasploit-erd.
  • Loading branch information
limhoff-r7 committed Apr 30, 2015
1 parent f578577 commit 279391a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 12 deletions.
18 changes: 10 additions & 8 deletions RELEASING.md
Expand Up @@ -40,18 +40,20 @@ Complete these steps on DESTINATION
The entries in the [CHANGELOG.md](CHANGELOG.md) can be used to help determine how the `VERSION` should be bumped.
### Compatible changes
### Bug fixes
If the [CHANGELOG.md](CHANGELOG.md) contains only Enhancements, Bug Fixes, and/or Deprecations for the Next Release then
increment [`PATCH`](lib/metasploit/erd/version.rb).
If the [CHANGELOG.md](CHANGELOG.md) contains only Bug Fixes for the Next Release, then increment
[`PATCH`](lib/metasploit/erd/version.rb).
### Incompatible changes
### Compatible API changes
If the [CHANGELOG.md](CHANGELOG.md) contains any Incompatible Changes for the Next Release, then you can either (1)
decide to remain pre-1.0.0 or (2) advance to 1.0.0.
If the [CHANGELOG.md](CHANGELOG.md) contains any Enhancements or Deprecations, then increment
[`MINOR`](lib/metasploit/erd/version.rb) and reset [`PATCH`](lib/metasploit/erd/version.rb) to `0`.
1. To remain pre-1..0.0, then increment [`MINOR`](lib/metasploit/erd/version.rb) and reset [`PATCH`](lib/metasploit/erd/version.rb) to `0`.
2. To advance to 1.0.0, increment [`MAJOR`](lib/metasploit/erd/version.rb) and reset [`MINOR`](lib/metasploit/erd/version.rb and [`PATCH`](lib/metasploit/erd/version.rb) to `0`.
### Incompatible API changes
If the [CHANGELOG.md](CHANGELOG.md) contains any Incompatible Change, then increment [`MAJOR`](lib/metasploit/erd/version.rb) and
reset [`MINOR`](lib/metasploit/erd/version.rb and [`PATCH`](lib/metasploit/erd/version.rb) to `0`.
## Setup [CHANGELOG.md](CHANGELOG.md) for next release
Expand Down
14 changes: 10 additions & 4 deletions lib/metasploit/erd/version.rb
Expand Up @@ -10,12 +10,18 @@ module Version
MAJOR = 1
# The minor version number, scoped to the {MAJOR} version number.
MINOR = 0
# The patch number, scoped to the {MINOR} version number.
# The patch version number, scoped to the {MAJOR} and {MINOR} version numbers.
PATCH = 0
# the prerelease identifier
# The prerelease version, scoped to the {MAJOR}, {MINOR}, and {PATCH} version numbers.
PRERELEASE = 'rails-4.0'

# The full version string, including the {MAJOR}, {MINOR}, {PATCH}, and optionally, the {PRERELEASE} in the

#
# Module Methods
#

# The full version string, including the {Metasploit::ERD::Version::MAJOR},
# {Metasploit::ERD::Version::MINOR}, {Metasploit::ERD::Version::PATCH}, and optionally, the
# `Metasploit::ERD::Version::PRERELEASE` in the
# {http://semver.org/spec/v2.0.0.html semantic versioning v2.0.0} format.
#
# @return [String] '{Metasploit::ERD::Version::MAJOR}.{Metasploit::ERD::Version::MINOR}.{Metasploit::ERD::Version::PATCH}'
Expand Down

0 comments on commit 279391a

Please sign in to comment.