Skip to content

Commit 690e47e

Browse files
Implementado CD para build e publicação do pacote. Versão 0.2.0
1 parent e8cdae5 commit 690e47e

File tree

4 files changed

+34
-3
lines changed

4 files changed

+34
-3
lines changed

Diff for: .github/workflows/cd.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CD
2+
3+
on:
4+
pull_request:
5+
branches: [ main ]
6+
7+
workflow_dispatch:
8+
9+
jobs:
10+
executa_black:
11+
runs-on: ubuntu-latest
12+
steps:
13+
14+
- name: Realiza o checkout
15+
uses: actions/checkout@v2
16+
17+
- name: Set up Python
18+
uses: actions/setup-python@v2
19+
with:
20+
python-version: '3.10'
21+
22+
- name: Instala Poetry
23+
uses: Gr1N/setup-poetry@v7
24+
25+
- name: Instala dependências
26+
run: poetry install
27+
28+
- name: Build and publish to pypi
29+
uses: JRubics/[email protected]
30+
with:
31+
pypi_token: ${{ secrets.TOKEN_PYPI_PYFLUNT }}

Diff for: flunt/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""Version Software."""
2-
__version__ = "0.1.1"
2+
__version__ = "0.2.0"

Diff for: pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "Flunt"
3-
version = "0.1.1"
3+
version = "0.2.0"
44
description = "Python implementation of Domain Notification Pattern based in Flunt (.NET) developed by @andrebaltieri"
55
authors = ["Emerson Delatorre <[email protected]>"]
66

Diff for: tests/test_flunt.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33

44
def test_version():
5-
assert __version__ == '0.1.1'
5+
assert __version__ == '0.2.0'

0 commit comments

Comments
 (0)