summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2023-08-17 14:51:53 +0200
committerFlorian Bruhin <me@the-compiler.org>2023-08-17 14:51:53 +0200
commit8795b88d358deec34e3c3829f01eacded2f53a6a (patch)
tree716d016624d07b39bbac7fbb69caa6b27268bb56
parentffbbc3d9e75e82f2fd60bdd117496e9bf31ff74a (diff)
downloadqutebrowser-auto-releases.tar.gz
qutebrowser-auto-releases.zip
ci: Fix JS style issuesauto-releases
-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