Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@
"project_with_config_settings": "no",
"generate_docs": "yes",
"version": "2.2.0",
"original_publish_year": "2025",
"original_publish_year": "2020",
"_drift_manager": {
"template": "git@github.com:networktocode-llc/cookiecutter-ntc.git",
"template": "https://github.com/networktocode-llc/cookiecutter-ntc.git",
"template_dir": "python",
"template_ref": "main",
"cookie_dir": "",
"pull_request_strategy": "create",
"pull_request_strategy": "update-or-create",
"post_actions": [],
"draft": false,
"baked_commit_ref": "bc789d65fa90182c0eb392664e1cba02ea187ab1",
"baked_commit_ref": "67d15ddeb638efb7c39ab746e97e7b9c96c16801",
"drift_managed_branch": "develop"
}
}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,8 @@ jobs:
poetry-version: "2.1.3"
python-version: "3.13"
poetry-install-options: "--no-root"
- name: "Build Documentation"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

more of an FYI, Sirbu confirmed we don't need docs at all to be built here since we don't package the docs in our python libs.

run: "poetry run invoke build build-and-check-docs"
- name: "Run Poetry Build"
run: "poetry build"

- name: "Check that the release tag matches the version in pyproject.toml"
run: |
if [ "${{ github.ref_name }}" != "v$(poetry version -s)" ]; then exit 1; fi
Expand Down Expand Up @@ -58,17 +55,20 @@ jobs:
if: "startsWith(github.ref, 'refs/tags/v')"
needs: "build"
environment: "pypi"
# Steps to publish to PyPI.
steps:
- name: "Retrieve built package from cache"
uses: "actions/download-artifact@v4"
with:
name: "distfiles"
path: "dist/"
- name: "Publish package distribution to PyPI"
- name: "Publish package distributions to PyPI"
uses: "pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e" # v1.13.0
## Used for networktocode org since trusted publisher isn't supported for GitHub Plan.
with:
user: "__token__"
password: "${{ secrets.PYPI_API_TOKEN }}"
# End publish to PyPI job.

slack-notify:
needs:
Expand Down
1 change: 1 addition & 0 deletions changes/+main.housekeeping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Rebaked from the cookie `main`.
Loading