Skip to content

Commit

Permalink
Merge pull request #16 from Delatorrea/dev
Browse files Browse the repository at this point in the history
Update CD
  • Loading branch information
fazedordecodigo authored May 22, 2023
2 parents e770e74 + 61315b4 commit 882dcd2
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 3 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ on:
workflow_dispatch:

jobs:
executa_build:
deploy:
runs-on: ubuntu-latest

steps:

- name: Realiza o checkout
Expand All @@ -23,7 +24,23 @@ jobs:
uses: Gr1N/setup-poetry@v7

- name: Instala dependências
run: poetry install
run: poetry install --no-dev

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.TOKEN_GITHUB }}
with:
tag_name: v${{ steps.get_version.outputs.version }}
release_name: Release ${{ steps.get_version.outputs.version }}
body: |
Release ${{ steps.get_version.outputs.version }}
- name: Get Version
id: get_version
run: |
echo "::set-output name=version::$(python -c 'import toml; print(toml.load("pyproject.toml")["tool"]["poetry"]["version"])')"
- name: Build and publish to pypi
uses: JRubics/poetry-publish@v1.9
Expand Down
9 changes: 8 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
[tool.poetry]
name = "Flunt"
version = "1.0.0"
version = "1.0.1"
description = "Python implementation of Domain Notification Pattern based in Flunt (.NET) developed by @andrebaltieri"
authors = ["Emerson Delatorre <38289677+Delatorrea@users.noreply.github.com>"]
repository = "https://github.com/Delatorrea/PyFlunt"
homepage = "https://github.com/Delatorrea/PyFlunt"
documentation = "https://github.com/Delatorrea/PyFlunt"
license = "MIT"
keywords = ["flunt", "domain-notification", "validation", "notification"]
classifiers = ["Topic :: Utilities", "Topic :: Software Development", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11"]
readme = "./README.md"

[tool.poetry.dependencies]
python = "^3.10"
Expand Down

0 comments on commit 882dcd2

Please sign in to comment.