Skip to content

Commit

Permalink
py3.6, less deps, new pyinstaller, tests, badges
Browse files Browse the repository at this point in the history
  • Loading branch information
aogier committed Dec 14, 2020
1 parent 8872310 commit 76421aa
Show file tree
Hide file tree
Showing 8 changed files with 1,175 additions and 845 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ deploy:
<<: *deploy_condition

- provider: script
script: ~/.poetry/bin/poetry build && twine upload -u __token__ dist/*whl --skip-existing
script: ~/.poetry/bin/poetry publish --build
<<: *deploy_condition
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,22 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Added

- more badges in readme

### Changed

- minimum python version is now 3.6 instead of 3.7
- removed useless dev dependencies
- bumped pyinstaller version

### Fixed

- added more tests

## [0.2.0] - 2020-12-13

### Added
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
[![Build Status](https://travis-ci.org/aogier/chachacha.svg?branch=master)](https://travis-ci.org/aogier/chachacha)
[![codecov](https://codecov.io/gh/aogier/chachacha/branch/master/graph/badge.svg)](https://codecov.io/gh/aogier/chachacha)
[![Package version](https://badge.fury.io/py/chachacha.svg)](https://pypi.org/project/chachacha)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/chachacha?logo=python&logoColor=%235F9)](https://pypi.org/project/chachacha)
[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/aogier/chachacha.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/aogier/chachacha/context:python)

Chachacha changes changelogs. This is a tool you can use to keep your changelog tidy,
following the [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
Expand Down
2 changes: 1 addition & 1 deletion chachacha/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.2.0"
__version__ = "0.2.1"
5 changes: 4 additions & 1 deletion chachacha/drivers/git_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ def compare(self):
last = "HEAD"
self.changelog.pop("Unreleased", None)
# xxx: emit warning?
if not all((self.config.repo_name, self.config.tag_template)):
if (
not all((self.config.repo_name, self.config.tag_template))
or self.config.git_provider not in PROVIDERS
):
return
for release in self.changelog:
yield last if last != "HEAD" else "Unreleased", PROVIDERS[
Expand Down
Loading

0 comments on commit 76421aa

Please sign in to comment.