Skip to content

Commit 05cb4bf

Browse files
committed
Prepare 9.5 release
1 parent 18d583a commit 05cb4bf

File tree

5 files changed

+9
-14
lines changed

5 files changed

+9
-14
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
java-version: '8'
4646

4747
- name: Install clojure tools
48-
uses: DeLaGuardo/setup-clojure@9.4
48+
uses: DeLaGuardo/setup-clojure@9.5
4949
with:
5050
# Install just one or all simultaneously
5151
# The value must indicate a particular version of the tool, or use 'latest'

dist/index.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,14 @@ function getLatestBabashka(githubAuth) {
6363
exports.getLatestBabashka = getLatestBabashka;
6464
function getArtifactName(version) {
6565
const platform = os.platform();
66+
const arch = os.arch() === 'arm64' ? 'aarch64' : 'amd64';
6667
switch (platform) {
6768
case 'win32':
68-
return `babashka-${version}-windows-amd64.zip`;
69+
return `babashka-${version}-windows-${arch}.zip`;
6970
case 'darwin':
70-
return `babashka-${version}-macos-amd64.tar.gz`;
71+
return `babashka-${version}-macos-${arch}.tar.gz`;
7172
default:
72-
return `babashka-${version}-linux-amd64-static.tar.gz`;
73+
return `babashka-${version}-linux-${arch}-static.tar.gz`;
7374
}
7475
}
7576
exports.getArtifactName = getArtifactName;
@@ -1115,7 +1116,7 @@ exports.isMacOS = isMacOS;
11151116

11161117
Object.defineProperty(exports, "__esModule", ({ value: true }));
11171118
exports.VERSION = void 0;
1118-
exports.VERSION = '9-4';
1119+
exports.VERSION = '9-5';
11191120

11201121

11211122
/***/ }),

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/babashka.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,7 @@ export async function getLatestBabashka(githubAuth?: string): Promise<string> {
2727

2828
export function getArtifactName(version: string): string {
2929
const platform = os.platform()
30-
let arch
31-
switch (os.arch()) {
32-
case 'x64':
33-
arch = 'amd64'
34-
case 'arm64':
35-
arch = 'aarch64'
36-
}
30+
const arch = os.arch() === 'arm64' ? 'aarch64' : 'amd64'
3731

3832
switch (platform) {
3933
case 'win32':

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VERSION = '9-4'
1+
export const VERSION = '9-5'

0 commit comments

Comments
 (0)