Skip to content

Add version bump script#13447

Merged
balloob merged 2 commits intodevfrom
add-version-bump-script
Mar 26, 2018
Merged

Add version bump script#13447
balloob merged 2 commits intodevfrom
add-version-bump-script

Conversation

@balloob
Copy link
Copy Markdown
Member

@balloob balloob commented Mar 25, 2018

Description:

This adds a helper script to bump versions. Will help with both manual and the future automatic releases (beta only). Makes sure that version is higher in the version hierarchy than the previous version.

  • script/bump_version.py dev: bump to the next dev version.
    • Convert 0.67.3 to 0.67.4.dev0
    • Convert 0.67.3.beta5 to 0.67.4.dev0
    • Convert 0.67.3.dev0 to 0.67.3.dev1
  • script/bump_version.py beta: bump to the next beta version
    • Convert 0.67.5 to 0.67.8.beta0
    • Convert 0.67.0.dev0 to 0.67.0.beta0
    • Convert 0.67.5.beta4 to 0.67.5.beta5
  • script/bump_version.py release_patch: bump to the next release patch version
    • Convert 0.67.3 to 0.67.4
    • Convert 0.67.3.beta5 to 0.67.3
    • Convert 0.67.3.dev0 to 0.67.3

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass

If the code does not interact with devices:

  • Tests have been added to verify that the new code works.

@balloob balloob added this to the 0.66 milestone Mar 26, 2018
@balloob
Copy link
Copy Markdown
Member Author

balloob commented Mar 26, 2018

Merging this so I can use it for the rc release process.

@balloob balloob merged commit d6af26b into dev Mar 26, 2018
@balloob balloob deleted the add-version-bump-script branch March 26, 2018 01:04
balloob added a commit that referenced this pull request Mar 26, 2018
* Add version bump script

* Lint
@balloob balloob mentioned this pull request Mar 30, 2018
@home-assistant home-assistant locked and limited conversation to collaborators Jul 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants