Skip to content

ci: simplify distribution scripts#2556

Merged
wpbonelli merged 25 commits intoMODFLOW-ORG:developfrom
wpbonelli:release-scripts
Oct 14, 2025
Merged

ci: simplify distribution scripts#2556
wpbonelli merged 25 commits intoMODFLOW-ORG:developfrom
wpbonelli:release-scripts

Conversation

@wpbonelli
Copy link
Copy Markdown
Member

@wpbonelli wpbonelli commented Oct 2, 2025

Consolidate various switches (--full, --approved, --releasemode) into a single switch --releasemode consistent across all distribution-related scripts, corresponding to the 2 release types

  • develop mode. minimal contents. preliminary language. IDEVELOPMODE=1. provisional (e.g. nightly) builds
  • release mode. all contents. approved language. IDEVELOPMODE=0. extensive docs/examples. official releases

Rename the prerelease DFN variable attribute to developmode for consistency.

By default, all the scripts now run in develop mode unless --releasemode is enabled. A corresponding --releasemode switch was also added to the flopy codegen utility.

And rename DevFeatureModule and dev_feature() to FeatureFlagsModule and developmode() respectively.

Also, remove options for filtering models out of the distribution. That was overkill. Just hard code them.

@wpbonelli wpbonelli added ci Continuous integration maintenance Sprucing up the code release Release- or distribution-related changes labels Oct 2, 2025
wpbonelli added a commit to modflowpy/flopy that referenced this pull request Oct 11, 2025
@wpbonelli wpbonelli marked this pull request as ready for review October 12, 2025 00:24
@wpbonelli wpbonelli requested a review from mjreno October 13, 2025 12:49
@wpbonelli wpbonelli merged commit ef62c3f into MODFLOW-ORG:develop Oct 14, 2025
22 checks passed
@wpbonelli wpbonelli deleted the release-scripts branch October 14, 2025 03:12
@wpbonelli
Copy link
Copy Markdown
Member Author

@mjreno I merged so this gets some exercise on the nightly build but let me know if you see anything.

wpbonelli added a commit to MODFLOW-ORG/modflow6-nightly-build that referenced this pull request Oct 15, 2025
wpbonelli added a commit that referenced this pull request Jan 8, 2026
Patch up release_dispatch.yml to accommodate #2556 and #2579
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continuous integration maintenance Sprucing up the code release Release- or distribution-related changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant