Skip to content

Commit 68e10cc

Browse files
authored
Merge pull request #69 from avsm/brew-bintray
Run brew update before set up
2 parents c80934b + 7d3964b commit 68e10cc

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ and this project adheres to
88

99
## [unreleased]
1010

11+
### Changed
12+
13+
- Run brew update before set up to avoid an issue with Bintray transition
14+
period.
15+
1116
## [1.1.9]
1217

1318
## Fixed

dist/index.js

Lines changed: 7 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/installer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ async function acquireOpamDarwin(version: string, customRepository: string) {
8585
const repository =
8686
customRepository || "https://github.com/ocaml/opam-repository.git";
8787

88+
await exec("brew", ["update"]);
8889
await exec("brew", ["install", "opam"]);
8990
await exec("opam", ["init", "--bare", "-yav", repository]);
9091
await exec(path.join(__dirname, "install-ocaml-unix.sh"), [version]);

0 commit comments

Comments
 (0)