Skip to content
This repository has been archived by the owner on Feb 25, 2022. It is now read-only.

Latest commit

 

History

History
42 lines (35 loc) · 1.88 KB

RELEASE.md

File metadata and controls

42 lines (35 loc) · 1.88 KB

Release Procedure

Bump version

  1. Open a branch for the release
    • git checkout -b releases/0.19.0rc1
  2. Update CHANGELOG.md with the most recent changes
  3. Bump the version using bump2version:
    1. Dry run first by running bumpversion --dry-run --verbose --new-version <desired-version> <part>. Some examples:
      • Release candidates: --new-version 0.10.2rc1 num
      • Alpha releases: --new-version 0.10.2a1 num
      • Patch releases: --new-version 0.10.2.1 patch
      • Minor releases: --new-version 0.11.0.1 minor
      • Major releases: --new-version 1.0.0.1 major
    2. Actually modify the files: bumpversion --no-tag --new-version <desired-version> <part>
    3. Check the diff with git diff
    4. Add the files that were changed with git add --update
    5. Commit with message Release dbt-mysql v<desired-version>

PyPI

  1. Build source distribution
    • python setup.py sdist bdist_wheel
  2. Deploy to Test PyPi
  3. Deploy to PyPi

PyPi recognizes pre-release versioning conventions and will label "pre-releases" as-such.

GitHub

  1. Click the Create a new release link on the project homepage in GitHub
  2. Type v{semantic_version} as the "tag version" (e.g., v0.18.0rc2)
  3. Leave the "target" as main
  4. Type dbt-mysql {semantic_version} as the "release title" (e.g. dbt-mysql 0.18.0rc2)
  5. For pre-releases:
    • leave the description blank
    • Tick the "this is a pre-release" checkbox
  6. Click the "publish release" button