Skip to content

Commit

Permalink
ci: Use a file that starts with a dot in order to not accidentally ad…
Browse files Browse the repository at this point in the history
…d a new file in the root directory of the repo when the changelog is updated.
  • Loading branch information
nfelt14 committed Oct 18, 2023
1 parent 52bc247 commit 26dea9f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/package-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Check for unreleased entries in the Changelog
run: python scripts/check_unreleased_changelog_items.py
- name: Copy Changelog to template directory
run: cp CHANGELOG.md python_semantic_release_templates/previous_changelog_for_template.md
run: cp CHANGELOG.md python_semantic_release_templates/.previous_changelog_for_template.md
- name: Python Semantic Release
id: release
uses: python-semantic-release/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion python_semantic_release_templates/CHANGELOG.md.j2
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@


{%- filter replace("## Unreleased", "## Unreleased\n\n______________________________________________________________________\n\n## " + latest_version_number + " (" + latest_version_date + ")" + merged_prs_text) %}
{%- include "previous_changelog_for_template.md" %}
{%- include ".previous_changelog_for_template.md" %}
{% endfilter %}

0 comments on commit 26dea9f

Please sign in to comment.