- Update changelog
- Bumpversion
- Merge to master
- (on master) git pull origin development
- Deploy to pypi
- python setup.py sdist upload -r pypi
- Deploy to homebrew
- Make a pull request against homebrew-core
- Deploy to conda-forge
- Make a pull request against dbt-feedstock
- Git release notes (points to changelog)
- Post to slack (point to changelog)
- fork homebrew and add a remote:
cd $(brew --repo homebrew/core)
git remote add origin <your-github-username> <your-fork-url>
- edit the formula.
brew update
mkvirtualenv --python="$(which python3)" brew
pip install homebrew-pypi-poet dbt
diff "$(brew --repo homebrew/core)"/Formula/dbt.rb <(poet -f dbt)
find any differences in resource stanzas, and incorporate them into the formula
brew edit dbt
...
diff "$(brew --repo homebrew/core)"/Formula/dbt.rb <(poet -f dbt)
- reinstall, test, and audit dbt. if the test or audit fails, fix the formula with step 1.
brew uninstall --force dbt
brew install --build-from-source dbt
brew test dbt
brew audit --strict dbt
- make a pull request for the change.
cd $(brew --repo homebrew/core)
git pull origin master
git checkout -b dbt-<version> origin/master
git add . -p
git commit -m 'dbt <version>'
git push -u <your-github-username> dbt-<version>
- Clone the fork of
conda-forge/dbt-feedstock
here
git clone [email protected]:fishtown-analytics/dbt-feedstock.git
- Update the version and sha256 in
recipe/meta.yml
. To calculate the sha256, run:
wget https://github.com/fishtown-analytics/dbt/archive/v{version}.tar.gz
openssl sha256 v{version}.tar.gz
-
Push the changes and create a PR against
conda-forge/dbt-feedstock
-
Confirm that all automated conda-forge tests are passing