diff --git a/.cookiecutter.json b/.cookiecutter.json index c876823..3a74a3a 100644 --- a/.cookiecutter.json +++ b/.cookiecutter.json @@ -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" } } diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 99b60bd..ef26e62 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,11 +17,8 @@ jobs: poetry-version: "2.1.3" python-version: "3.13" poetry-install-options: "--no-root" - - name: "Build Documentation" - 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 @@ -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: diff --git a/changes/+main.housekeeping b/changes/+main.housekeeping new file mode 100644 index 0000000..3433adf --- /dev/null +++ b/changes/+main.housekeeping @@ -0,0 +1 @@ +Rebaked from the cookie `main`.