Skip to content

Commit

Permalink
fix: commit messages section in GitHub Releases
Browse files Browse the repository at this point in the history
Commit messages were missing from the body of GitHub release message. This attempts to fix that.

I also cleaned up formatting and clarified the "instrcutions" section text, while we are at it.
  • Loading branch information
ivan-aksamentov committed Feb 28, 2023
1 parent 76e3d6c commit 6d88be3
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/bioconda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ defaults:
run:
shell: bash -euxo pipefail {0}

env:
GITHUB_REPOSITORY_URL: ${{ github.server_url }}/${{ github.repository }}

jobs:

publish-to-bioconda:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/builder-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ defaults:
run:
shell: bash -euxo pipefail {0}

env:
GITHUB_REPOSITORY_URL: ${{ github.server_url }}/${{ github.repository }}

jobs:
build-base-image:
name: "Build base image"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ defaults:
run:
shell: bash -euxo pipefail {0}

env:
GITHUB_REPOSITORY_URL: ${{ github.server_url }}/${{ github.repository }}

jobs:

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ defaults:
run:
shell: bash -euxo pipefail {0}

env:
GITHUB_REPOSITORY_URL: ${{ github.server_url }}/${{ github.repository }}

jobs:
build-web:
Expand Down
12 changes: 10 additions & 2 deletions cliff.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
[changelog]

header = """
---
<details>
<summary><h3>Commit history</h3> (click to expand)</summary>
"""
Expand All @@ -9,13 +12,18 @@ header = """
# Docs: https://tera.netlify.app/docs/#introduction
body = """
{% for commit in commits %}
- [[`{{ commit.id | truncate(length=7, end="") }}`](https://github.com/{{ get_env(name="GITHUB_REPOSITORY") }}/commit/{{ commit.id }})] {{ commit.message }}
- [[`{{ commit.id | truncate(length=7, end="") }}`]({{ get_env(name="GITHUB_REPOSITORY_URL") }}/commit/{{ commit.id }})] {{ commit.message }}
{% endfor %}
"""

trim = true

footer = """</details>"""
footer = """
</details>
---
"""


[git]
Expand Down
4 changes: 1 addition & 3 deletions docs/assets/release-instructions.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@

---

## Instructions

📥 Nextclade CLI & Nextalign CLI can be downloaded from the links in the "Assets" section just below. There click "Show all" to show more options. Note the difference between "nextalign" and "nextclade" files.
📥 Nextclade CLI & Nextalign CLI can be downloaded from the links in the "Assets" section just below. Click "Show all" at the bottom of the "Assets" section to show more download options. Note the difference between "nextalign" and "nextclade" files as well as differences in operating systems and computer architectures.

🌐 Nextclade Web is available at [https://clades.nextstrain.org](https://clades.nextstrain.org)

Expand Down

0 comments on commit 6d88be3

Please sign in to comment.