summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/release.yml8
1 files changed, 2 insertions, 6 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 8425530b2..65dec84e8 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -54,11 +54,7 @@ jobs:
}
console.log(`release_branches: ${release_branches}`);
// Get newest release branch (biggest version number)
- const sorted = release_branches.sort(
- function (a, b) {
- return a.localeCompare(b, undefined, { numeric: true, sensitivity: 'base' });
- }
- );
+ const sorted = release_branches.sort((a, b) => a.localeCompare(b, undefined, { numeric: true, sensitivity: 'base' }));
console.log(`sorted: ${sorted}`);
return sorted.at(-1);
result-encoding: string
@@ -190,7 +186,7 @@ jobs:
repo: context.repo.repo,
release_id: "${{ needs.prepare.outputs.release_id }}",
draft: false,
- body: "Check the [changelog](https://github.com/qutebrowser/qutebrowser/blob/master/doc/changelog.asciidoc) for changes in this release."
+ body: "Check the [changelog](https://github.com/qutebrowser/qutebrowser/blob/master/doc/changelog.asciidoc) for changes in this release.",
})
irc:
timeout-minutes: 2