-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new: [core] Added new async report_error function and preparing a fir…
…st trusted release on Pypi.
- Loading branch information
1 parent
bdbadb0
commit 1fd2cb0
Showing
7 changed files
with
130 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
on: | ||
release: | ||
types: | ||
- published | ||
|
||
name: release | ||
|
||
jobs: | ||
pypi-publish: | ||
name: Upload release to PyPI | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: pypi | ||
url: https://pypi.org/p/BlueSkySight | ||
|
||
permissions: | ||
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Install Poetry | ||
run: python -m pip install --upgrade pip poetry | ||
- name: Build artifacts | ||
run: poetry build | ||
- name: Publish package distributions to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,15 +5,15 @@ build-backend = "poetry.core.masonry.api" | |
|
||
[project] | ||
name = "BlueSkySight" | ||
version = "0.6.0" | ||
version = "1.0.0" | ||
description = "A client to gather vulnerability-related information from Bluesky." | ||
authors = [ | ||
{name = "Cédric Bonhomme", email = "[email protected]"} | ||
] | ||
license = "GPL-3.0-or-later" | ||
readme = "README.md" | ||
keywords = ["Vulnerability-Lookup", "Vulnerability", "CVE", "Bluesky"] | ||
# classifieres is dynamic because we want to create Python classifiers automatically | ||
|
||
dynamic = ["classifiers"] | ||
|
||
requires-python = ">=3.10,<4.0" | ||
|