Skip to content

Commit f2a8975

Browse files
Included release drafter automation (#100)
* [add] Included release drafter automation * [add] removed certain ignore patterns not related to this python client
1 parent a97d9b8 commit f2a8975

File tree

3 files changed

+192
-4
lines changed

3 files changed

+192
-4
lines changed

.github/release-drafter-config.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name-template: 'Version $NEXT_PATCH_VERSION'
2+
tag-template: 'v$NEXT_PATCH_VERSION'
3+
categories:
4+
- title: '🚀Features'
5+
labels:
6+
- 'feature'
7+
- 'enhancement'
8+
- title: 'Bug Fixes'
9+
labels:
10+
- 'fix'
11+
- 'bugfix'
12+
- 'bug'
13+
- title: 'Maintenance'
14+
label: 'chore'
15+
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
16+
exclude-labels:
17+
- 'skip-changelog'
18+
template: |
19+
## Changes
20+
21+
$CHANGES

.github/workflows/release-drafter.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
# branches to consider in the event; optional, defaults to all
6+
branches:
7+
- master
8+
9+
jobs:
10+
update_release_draft:
11+
runs-on: ubuntu-latest
12+
steps:
13+
# Drafts your next Release notes as Pull Requests are merged into "master"
14+
- uses: release-drafter/release-drafter@v5
15+
with:
16+
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
17+
config-name: release-drafter-config.yml
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 152 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,153 @@
1-
/build
2-
/dist
1+
# general datasets related inputs/outputs
2+
3+
*.json
4+
*.tar.gz
5+
*.csv
6+
7+
# Byte-compiled / optimized / DLL files
8+
__pycache__/
9+
*.py[cod]
10+
*$py.class
11+
12+
# C extensions
13+
*.so
14+
15+
# Distribution / packaging
16+
.Python
17+
build/
18+
develop-eggs/
19+
dist/
20+
downloads/
21+
eggs/
22+
.eggs/
23+
lib/
24+
lib64/
25+
parts/
26+
sdist/
27+
var/
28+
wheels/
29+
pip-wheel-metadata/
30+
share/python-wheels/
31+
*.egg-info/
32+
.installed.cfg
33+
*.egg
34+
MANIFEST
35+
36+
# PyInstaller
37+
# Usually these files are written by a python script from a template
38+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
39+
*.manifest
40+
*.spec
41+
42+
# Installer logs
43+
pip-log.txt
44+
pip-delete-this-directory.txt
45+
46+
# Unit test / coverage reports
47+
htmlcov/
48+
.tox/
49+
.nox/
50+
.coverage
51+
.coverage.*
52+
.cache
53+
nosetests.xml
54+
coverage.xml
55+
*.cover
56+
*.py,cover
57+
.hypothesis/
58+
.pytest_cache/
59+
60+
# PyBuilder
61+
target/
62+
63+
# IPython
64+
profile_default/
65+
ipython_config.py
66+
67+
# pyenv
68+
.python-version
69+
70+
# pipenv
71+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
72+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
73+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
74+
# install all needed dependencies.
75+
#Pipfile.lock
76+
77+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
78+
__pypackages__/
79+
80+
# Celery stuff
81+
celerybeat-schedule
82+
celerybeat.pid
83+
84+
# Environments
385
.env
4-
/venv*/
5-
*.pyc
86+
.venv
87+
env/
88+
venv/
89+
ENV/
90+
env.bak/
91+
venv.bak/
92+
93+
# Rope project settings
94+
.ropeproject
95+
96+
# mkdocs documentation
97+
/site
98+
99+
# mypy
100+
.mypy_cache/
101+
.dmypy.json
102+
dmypy.json
103+
104+
# Pyre type checker
105+
.pyre/
106+
107+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
108+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
109+
110+
*.idea/
111+
112+
# User-specific stuff
113+
.idea/**/workspace.xml
114+
.idea/**/tasks.xml
115+
.idea/**/usage.statistics.xml
116+
.idea/**/dictionaries
117+
.idea/**/shelf
118+
119+
# Generated files
120+
.idea/**/contentModel.xml
121+
122+
# Sensitive or high-churn files
123+
.idea/**/dataSources/
124+
.idea/**/dataSources.ids
125+
.idea/**/dataSources.local.xml
126+
.idea/**/sqlDataSources.xml
127+
.idea/**/dynamic.xml
128+
.idea/**/uiDesigner.xml
129+
.idea/**/dbnavigator.xml
130+
131+
# IntelliJ
132+
out/
133+
134+
# mpeltonen/sbt-idea plugin
135+
.idea_modules/
136+
137+
# JIRA plugin
138+
atlassian-ide-plugin.xml
139+
140+
# Cursive Clojure plugin
141+
.idea/replstate.xml
142+
143+
# Crashlytics plugin (for Android Studio and IntelliJ)
144+
com_crashlytics_export_strings.xml
145+
crashlytics.properties
146+
crashlytics-build.properties
147+
fabric.properties
148+
149+
# Editor-based Rest Client
150+
.idea/httpRequests
151+
152+
# Android studio 3.1+ serialized cache file
153+
.idea/caches/build_file_checksums.ser

0 commit comments

Comments
 (0)