brew

https://github.com/homebrew/brew

Ruby

🍺 The missing package manager for macOS

Formula.version_scheme=

Used for creating new Homebrew versions schemes. For example, if we want
to change version scheme from one to another, then we may need to update
`version_scheme` of this {Formula} to be able to use new version scheme.
E.g. to move from 20151020 scheme to 1.0.0 we need to increment
`version_scheme`. Without this, the prior scheme will always equate to a
higher version.
`0` if unset.

<pre>version_scheme 1</pre>

Source | Google | Stack overflow

Edit

git clone [email protected]:homebrew/brew.git

cd brew

open Library/Homebrew/formula.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Formula-version_scheme--for-pr


# Commit to git

git add Library/Homebrew/formula.rbgit commit -m "better docs for Formula.version_scheme="


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Formula-version_scheme--for-pr

hub pull-request


# Celebrate!