File tree Expand file tree Collapse file tree 10 files changed +32
-134
lines changed Expand file tree Collapse file tree 10 files changed +32
-134
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- # Creates a draft release when a new tag is pushed
2
- name : Release
1
+ name : Semantic Release
3
2
4
3
on :
5
4
push :
6
- tags :
7
- - " v*.*.* "
5
+ branches :
6
+ - master
8
7
9
8
jobs :
10
- build :
9
+ release :
11
10
runs-on : ubuntu-latest
11
+ concurrency : release
12
+
12
13
steps :
13
- - name : Checkout
14
- uses : actions/checkout@v2
15
- - name : Get the version
16
- id : get_version
17
- run : echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
18
- - name : Release
19
- uses : softprops/action-gh-release@v1
20
- with :
21
- name : " popmon ${{ steps.get_version.outputs.VERSION }}"
22
- body : " Release notes are available [here](https://github.com/ing-bank/popmon/blob/master/CHANGELOG.md)."
23
- draft : true
14
+ - uses : actions/checkout@v2
15
+ with :
16
+ fetch-depth : 0
17
+
18
+ - name : Python Semantic Release
19
+ uses : relekang/python-semantic-release@master
20
+ with :
21
+ github_token : ${{ secrets.GITHUB_TOKEN }}
22
+ repository_username : __token__
23
+ repository_password : ${{ secrets.PYPI_TOKEN }}
Original file line number Diff line number Diff line change 1
- # See: https://docs.readthedocs.io/en/latest/yaml- config.html
2
- # .readthedocs.yml
1
+ # See: https://docs.readthedocs.io/en/latest/config-file/v2 .html
2
+ version : 2
3
3
4
4
build :
5
5
image : latest
6
6
7
7
python :
8
- version : 3.8
9
- setup_py_install : true
8
+ version : ' 3.8'
10
9
install :
11
10
- requirements : docs/requirements.txt
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# Release notes
2
2
3
+ <!-- next-version-placeholder-->
4
+
3
5
## [ v0.4.4] ( https://github.com/ing-bank/popmon/compare/v0.4.3...v0.4.4 ) (2021-10-22)
4
6
5
7
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
"""THIS FILE IS AUTO-GENERATED BY SETUP.PY."""
2
2
3
- version = "0.5.0 "
3
+ version = "0.4.4 "
Original file line number Diff line number Diff line change @@ -7,4 +7,10 @@ markers = ["spark"]
7
7
"spark.executor.instances" = 1
8
8
"master" = " local[*]"
9
9
"spark.driver.host" = " 192.168.1.78"
10
- "spark.sql.catalogImplementation" = " in-memory"
10
+ "spark.sql.catalogImplementation" = " in-memory"
11
+
12
+ [tool .semantic_release ]
13
+ version_variable = [
14
+ " setup.py:__version__" ,
15
+ " popmon/version.py:version" ,
16
+ ]
Original file line number Diff line number Diff line change 1
1
from setuptools import find_packages , setup
2
2
3
+ __version__ = "0.4.4"
4
+
3
5
with open ("requirements.txt" ) as f :
4
6
REQUIREMENTS = f .read ().splitlines ()
5
7
@@ -15,7 +17,7 @@ def setup_package() -> None:
15
17
"""
16
18
setup (
17
19
name = "popmon" ,
18
- version = "0.4.4" ,
20
+ version = __version__ ,
19
21
url = "https://github.com/ing-bank/popmon" ,
20
22
license = "MIT" ,
21
23
author = "ING Wholesale Banking Advanced Analytics" ,
You can’t perform that action at this time.
0 commit comments