Skip to content

Commit 4cc3a95

Browse files
authored
Release/1.2.0 (#46)
* add release-* target to Makefile * prepare release 1.2.0
1 parent ea047cf commit 4cc3a95

File tree

4 files changed

+21
-4
lines changed

4 files changed

+21
-4
lines changed

.bumpversion.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[bumpversion]
2-
commit = True
2+
commit = False
33
tag = False
4-
current_version = 1.1.2
4+
current_version = 1.2.0
55

66
[bumpversion:file:setup.py]

CHANGELOG.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,27 @@
33
All notable changes to this project will be documented in this file.
44
This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a Changelog](http://keepachangelog.com/).
55

6+
67
## Unreleased
8+
---
9+
10+
### New
11+
12+
### Changes
13+
14+
### Fixes
15+
16+
### Breaks
17+
18+
19+
## 1.2.0 - (2022-08-04)
720

821
### New
922
* Allow to load external collectors with fully qualified dotted notation
1023

1124
### Changes
1225
* Switch sphinx from recommonmark to myst_parser
1326

14-
### Fixes
1527

1628
### Breaks
1729
* We remove support for python prior than 3.7

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ check: dist
3939
publish: check
4040
$(TWINE_CMD) upload $(TWINE_OPTIONS) dist/*
4141

42+
release-%:
43+
bumpversion $*
44+
changelog release --$*
45+
make doc
46+
4247
clean:
4348
rm -Rf docs/{build,_build} {build,dist} *.egg-info coverage.xml .pytest_cache
4449
find . -name '*.pyc' -exec rm -f {} +

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
setup(
99
name='p3exporter',
10-
version='1.1.2',
10+
version='1.2.0',
1111
description='Python Programmable Prometheus exporter',
1212
long_description=long_description,
1313
long_description_content_type='text/markdown',

0 commit comments

Comments
 (0)