Skip to content

Commit

Permalink
Update release Workflow; re-run poetry lock (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Gibler authored Dec 8, 2023
1 parent a98d99a commit 3895c54
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 35 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.11
- name: Install Poetry
uses: abatilo/actions-poetry@v2.0.0
with:
poetry-version: 1.2
run: |
pipx install poetry
- name: Verify versioning
run: |
[ "$(poetry version -s)" == "${GITHUB_REF#refs/tags/v}" ]
Expand All @@ -30,12 +29,7 @@ jobs:
run: poetry build
- name: Configure Poetry
run: |
poetry config repositories.testpypi https://test.pypi.org/legacy/
poetry config pypi-token.testpypi ${{ secrets.TEST_PYPI_API_TOKEN }}
poetry config pypi-token.pypi "${{ secrets.PYPI_API_TOKEN }}"
- name: Publish to test PyPI
if: ${{ github.event_name == 'push' }}
run: poetry publish -r testpypi
- name: Publish to PyPI
if: ${{ github.event_name == 'release' }}
run: poetry publish
28 changes: 4 additions & 24 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[tool.poetry]
name = "pySigma-backend-panther-sdyaml"
version = "0.1.0"
version = "0.1.1"
description = "pySigma backend for Panther"
authors = ["Josh Esbrook <jehockey@umich.edu>", "Oleh Melenevskyi <olehmelenevskyi@gmail.com>"]
maintainers = ["Panther Labs Inc <pypi@runpanther.io>"]
license = "LGPL-3.0-only"
repository = "https://github.com/panther-labs/pySigma-backend-panther-sdyaml"
packages = [
Expand Down

0 comments on commit 3895c54

Please sign in to comment.