Skip to content

Commit b4da6d2

Browse files
authored
Merge pull request #34 from sandialabs/fix-semantic-release
fix: Semantic release configuration
2 parents 6a6d6f2 + a73688c commit b4da6d2

File tree

5 files changed

+3
-45
lines changed

5 files changed

+3
-45
lines changed

.github/workflows/semantic-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
release:
1010
runs-on: ubuntu-latest
1111
concurrency: release
12+
environment: release
1213
permissions:
1314
id-token: write
1415

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[![Code Style: black](https://img.shields.io/badge/Code%20Style-black-000000.svg)](https://github.com/psf/black)
22
[![codecov](https://codecov.io/gh/sandialabs/reverse_argparse/branch/master/graph/badge.svg?token=FmDStZ6FVR)](https://codecov.io/gh/sandialabs/reverse_argparse)
3-
[![Continuous Integration](https://github.com/sandialabs/reverse_argparse/actions/workflows/ci.yml/badge.svg)](https://github.com/sandialabs/reverse_argparse/actions/workflows/ci.yml)
3+
[![Continuous Integration](https://github.com/sandialabs/reverse_argparse/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/sandialabs/reverse_argparse/actions/workflows/continuous-integration.yml)
44
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](CODE_OF_CONDUCT.md)
55
[![Documentation Status](https://readthedocs.org/projects/reverse-argparse/badge/?version=latest)](https://reverse-argparse.readthedocs.io/en/latest/?badge=latest)
66
[![Linting: Pylint](https://img.shields.io/badge/Linting-Pylint-yellowgreen)](https://github.com/pylint-dev/pylint)

release_notes.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

templates/CHANGELOG.md.j2

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,7 @@
11
# CHANGELOG
22

33

4-
{% if context.history.unreleased | length > 0 %}
5-
## Unreleased
6-
{% for type_, commits in context.history.unreleased | dictsort %}
7-
### {{ type_ | capitalize if type_ != "ci" else "Continuous Integration" }}
8-
{% for commit in commits -%}
9-
{%- set summary = commit.message.rstrip().splitlines()[0] -%}
10-
{%- set details = commit.message.rstrip().splitlines()[2:] -%}
11-
* {{ summary }} ([`{{ commit.hexsha[:7] }}`]({{ commit.hexsha | commit_hash_url }}))
12-
{% if details %}
13-
{% for line in details %}{% if line.strip() %} {{ line }}{% endif %}
14-
{% endfor %}{% endif %}{% endfor -%}
15-
{% endfor %}
16-
{% endif %}
17-
18-
{% for version, release in context.history.released.items() -%}
4+
{% for version, release in context.history.released.items() %}
195
## {{ version.as_tag() }} ({{ release.tagged_date.strftime("%Y-%m-%d") }})
206
{% for type_, commits in release["elements"] | dictsort %}
217
### {{ type_ | capitalize if type_ != "ci" else "Continuous Integration" }}

templates/release_notes.md.j2

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)