Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit c214fb4

Browse files
Added Release Sources files (#6)
2 parents b8feede + 174c3e4 commit c214fb4

File tree

4 files changed

+15
-0
lines changed

4 files changed

+15
-0
lines changed

.github/release_sources.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Changes to any file or a file within a directory will trigger a release.
2+
src:
3+
- 'src/**'
4+
- 'pyproject.toml'
5+
- 'README.md'

.github/workflows/standard.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,5 +175,7 @@ jobs:
175175
name: Publish
176176

177177
uses: davidbrownell/dbrownell_DevTools/.github/workflows/callable_publish_python.yaml@main
178+
with:
179+
release_sources_configuration_filename: .github/release_sources.yaml
178180
secrets:
179181
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Changes to any file or a file within a directory will trigger a release.
2+
src:
3+
- 'src/**'
4+
- 'pyproject.toml'
5+
- 'README.md'

src/PythonProjectBootstrapper/python_project/{{ cookiecutter.__empty_dir }}/.github/workflows/standard.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ jobs:
189189
bootstrap_args: ""
190190
docker_description: "{{ cookiecutter.pypi_project_name }} - {% raw %}${{ matrix.python_version }}{% endraw %}"
191191
push_image_as_package: true
192+
container_registry_username: {{ cookiecutter.github_username }}
192193
{% endif %}
193194

194195
# ----------------------------------------------------------------------
@@ -204,5 +205,7 @@ jobs:
204205
name: Publish
205206

206207
uses: davidbrownell/dbrownell_DevTools/.github/workflows/callable_publish_python.yaml@main
208+
with:
209+
release_sources_configuration_filename: .github/release_sources.yaml
207210
secrets:
208211
PYPI_TOKEN: {% raw %}${{ secrets.PYPI_TOKEN }}{% endraw %}

0 commit comments

Comments
 (0)