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

Modal build #361

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Modal build #361

wants to merge 2 commits into from

Conversation

brettviren
Copy link
Member

Make the build modal depending on git branch.

If "master" or a release branch then the build is "release mode" else it is "development mode".

In release mode, disable any packages not ready for release (eg patrec) and make the compiler more strict. Fixes #305.

Currently, development mode (building in a feature branch) has no changes from nominal.

This commit improves setting VERSION and adds support for providing the version in a "version.txt" file when the source is not under git control. Fixes #112.

But, note, we must do something new in order to assure version.txt exists in pure-source releases. We do not typically make tarball source releases and I do not know how to inject this file in the tarballs that GitHub makes automatically so this feature will likely remain vestigial.

If "master" or a release branch then the build is "release mode" else it is
"development mode".

In release mode, disable any packages not ready for release (eg patrec) and make
the compiler more strict.  Fixes #305.

Currently, development mode (building in a feature branch) has no changes from
nominal.

This commit improves setting VERSION and adds support for providing the version
in a "version.txt" file when the source is not under git control.  Fixes #112.
@brettviren brettviren requested a review from HaiwangYu January 15, 2025 17:34
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.

Build with -Wpedantic and -Werror Version reporting
1 participant