Skip to content

Commit

Permalink
Add continous deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
lucianolorenti committed Aug 18, 2022
1 parent 9d32853 commit 877885d
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
8 changes: 8 additions & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[bumpversion]
current_version = 2.0.0
commit = True
tag = True

[bumpversion:file:ceruleo/__init__.py]

[bumpversion:file:setup.cfg]
10 changes: 8 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,21 @@ on:
jobs:

publish:
if: "!contains(github.event.head_commit.message, 'Bump version')"
runs-on: ubuntu-latest

steps:

- uses: actions/checkout@v2
- name: Set up Python ${ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: FragileTech/bump-version
uses: FragileTech/bump-version@main
with:
commit_name: Version bumper
commit_email: lucianolorenti@gmail.com
login: lucianolorenti@gmail.com
token: "${{ secrets.TOKEN_GITHUB }}"
- name: Install pypa/build
run: >-
python -m
Expand Down
2 changes: 1 addition & 1 deletion ceruleo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
CACHE_PATH.mkdir(parents=True, exist_ok=True)


__version__ = "2.2.0"
__version__ = "2.0.0"
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = ceruleo
version = 2.2.0
version = 2.0.0
description = Remaining useful life estimation utilities
url = https://medium.com/@gmyrianthous
keywords = predictive maintenance, remaining useful life
Expand Down

0 comments on commit 877885d

Please sign in to comment.