Skip to content

Commit

Permalink
Merge pull request #43 from eleanorfrajka/eleanor-patch-25
Browse files Browse the repository at this point in the history
[FIX] Change environment name to release in pypi.yml
  • Loading branch information
eleanorfrajka authored Nov 29, 2024
2 parents 018e0f7 + 47bbca4 commit d523f78
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ permissions:
jobs:
release-build:
runs-on: ubuntu-latest
environment:
name: TEST
url: https://pypi.org/project/seagliderOG1/
environment: release
permissions:
id-token: write
steps:
Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ dependencies = { file = [
] }
readme = { file = "README.md", content-type = "text/markdown" }

[tool.setuptools_scm]
write_to = "seagliderOG1/_version.py"
write_to_template = "__version__ = '{version}'"
tag_regex = "^(?P<prefix>v)?(?P<version>[^\\+]+)(?P<suffix>.*)?$"

[tool.check-manifest]
ignore = [
"docs",
Expand Down

0 comments on commit d523f78

Please sign in to comment.