Skip to content

Commit

Permalink
Merge cee6545 into 89674f2
Browse files Browse the repository at this point in the history
  • Loading branch information
Mropat committed Jul 11, 2021
2 parents 89674f2 + cee6545 commit 9f666bd
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 4 deletions.
7 changes: 7 additions & 0 deletions .bumpversion.cfg
@@ -0,0 +1,7 @@
[bumpversion]
current_version = "1.2.0"
commit = True
tag = True
tag_name = {new_version}

[bumpversion:file:setup.py]
17 changes: 17 additions & 0 deletions .github/workflows/bumpversion.yml
@@ -0,0 +1,17 @@
name: 'Bump2version-CI'
on:
push:
branches:
- 'master'
- 'main'
jobs:
bump-version:
runs-on: ubuntu-latest
name: Bump version and push tags to master
steps:
- name: Bump version
uses: Clinical-Genomics/bump2version-ci@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_ACTOR: ${{ github.actor }}
2 changes: 1 addition & 1 deletion requirements.txt
@@ -1,5 +1,5 @@
click
bumpversion
bump2version
pymongo
mongo_adapter
coloredlogs
Expand Down
3 changes: 1 addition & 2 deletions setup.py
@@ -1,6 +1,5 @@
from setuptools import find_packages, setup

from statina import __version__ as version

try:
with open("requirements.txt", "r") as f:
Expand All @@ -14,7 +13,7 @@

setup(
name="statina",
version=version,
version="1.2.0",
description="NIPT data storage and visualisation",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down
2 changes: 1 addition & 1 deletion statina/__init__.py
@@ -1 +1 @@
__version__ = "1.2.0"

0 comments on commit 9f666bd

Please sign in to comment.