Skip to content

Commit

Permalink
Merge pull request #25 from IvanildoBarauna/feat-EnvSetup
Browse files Browse the repository at this point in the history
chore: env setup
  • Loading branch information
IvanildoBarauna authored Jul 24, 2024
2 parents a5c1600 + 96144a7 commit feb91c9
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/CD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,7 @@ jobs:
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
run: poetry publish --username __token__ --password $POETRY_PYPI_TOKEN_PYPI

environment:
name: Production
url: https://pypi.org/project/currency-quote/
17 changes: 17 additions & 0 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,20 @@ jobs:
git push
git tag -f $(poetry version -s)
git push -f origin --tags
- name: Build package
run: poetry build

- name: Repository Setup
run: |
poetry config repositories.test-pypi https://test.pypi.org/legacy/
- name: Publish package to TestPyPI
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.TEST_PYPI_TOKEN }}
run: poetry publish -r test-pypi -u __token__ --password $POETRY_PYPI_TOKEN_PYPI

environment:
name: Development
url: https://test.pypi.org/project/currency-quote/
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "currency-quote"
version = "3.2.3"
version = "3.2.4"
description = "Complete solution for extracting currency pair quotes data. With comprehensive testing, parameter validation, flexible configuration management, Hexagonal Architecture, CI/CD pipelines, code quality tools, and detailed documentation."
authors = ["IvanildoBarauna <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit feb91c9

Please sign in to comment.