Skip to content

Commit e53ac9b

Browse files
authored
Merge pull request #43 from opalsecurity/winnie/plat-193-fix-python-sdk-publish-to-pypi-gha
[PLAT-193] Fix python sdk publish to pypi gha
2 parents 7f0a77d + a1fa54f commit e53ac9b

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/build-and-publish-to-pypi.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ jobs:
99
steps:
1010
- name: Checkout code
1111
uses: actions/checkout@v3
12+
with:
13+
fetch-depth: 1
14+
fetch-tags: true
1215
- name: Set up Python
1316
uses: actions/setup-python@v4
1417
with:

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "opal_security"
3-
version = "1.0.0"
3+
dynamic = ["version"]
44
description = "Opal API"
55
authors = [
66
{name = "Opal Team",email = "hello@opal.dev"},
@@ -32,7 +32,7 @@ mypy = ">= 1.5"
3232

3333

3434
[build-system]
35-
requires = ["setuptools"]
35+
requires = ["setuptools", "setuptools_scm"]
3636
build-backend = "setuptools.build_meta"
3737

3838
[tool.pylint.'MESSAGES CONTROL']

0 commit comments

Comments
 (0)