diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 0ab7c29ab..737e41d67 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -28,6 +28,11 @@ jobs: pip install tox sudo apt-get update sudo apt-get install -y pandoc + - name: Tell reno to name the upcoming release after the branch we are on + shell: bash + run: | + sed -i.bak -e '/unreleased_version_title:*/d' releasenotes/config.yaml + echo unreleased_version_title: \"Upcoming release \(\`\`${GITHUB_REF_NAME}\`\`\)\" >> releasenotes/config.yaml - name: Build docs shell: bash run: | diff --git a/releasenotes/config.yaml b/releasenotes/config.yaml index 213e4a4e5..ba0254b34 100644 --- a/releasenotes/config.yaml +++ b/releasenotes/config.yaml @@ -1,5 +1,5 @@ --- encoding: utf8 default_branch: main -unreleased_version_title: "Upcoming release (``main`` branch)" +unreleased_version_title: "Upcoming release" earliest_version: 0.1.0