Skip to content
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

Using VERSION to determine the MisterHouse program version. #123

Merged
merged 1 commit into from
Mar 18, 2013

Conversation

hollie
Copy link
Owner

@hollie hollie commented Mar 13, 2013

I propose to use the VERSION file in the root of the MisterHouse codebase to determine what version of Misterhouse we're running.
This is opposed to the hardcoded version in bin/mh.

I've cleaned out some legacy code that tried to determine the svn version (we're no longer using that) and now bin/mh reads the VERSION file. For the master branch this file reads 'unstable' by default. When we make a new version now, we only need to update the version number in the VERSION file to have it pushed to all locations in mh that rely on or use the version number.

I propose to use the VERSION file in the root of the MisterHouse codebase to determine what version of Misterhouse we're running.
This is opposed to the hardcoded version in bin/mh.

I've cleaned out some legacy code that tried to determine the svn version (we're no longer using that) and now bin/mh reads the VERSION file. For the master branch this file reads 'unstable' by default. When we make a new version now, we only need to update the version number in the VERSION file to have it pushed to all locations in mh that rely on or use the version number.
@john-
Copy link

john- commented Mar 17, 2013

The change to track version in a single place (and that is outside of perl code) looks good to me. I did not test this but code looks good.

hollie added a commit that referenced this pull request Mar 18, 2013
Using VERSION to determine the MisterHouse program version.
@hollie hollie merged commit 30eae68 into master Mar 18, 2013
@hollie hollie deleted the autoversion branch January 8, 2017 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants