Skip to content

Commit

Permalink
Use non-changing URL for cs.sh script
Browse files Browse the repository at this point in the history
Should make it easier to be sure newer versions are picked when needed
  • Loading branch information
alexarchambault committed Jul 27, 2022
1 parent 8523b62 commit 6dd2c68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Convert.scala
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ object Convert extends CaseApp[ConvertOptions] {
}
}

def csShUrl = "https://github.com/coursier/ci-scripts/raw/master/cs.sh"
def csShUrl = "https://github.com/coursier/ci-scripts/raw/51931bc75613eb722fb752b204241c54ac506a24/cs.sh"

def run(options: ConvertOptions, args: RemainingArgs): Unit = {

Expand Down Expand Up @@ -243,7 +243,7 @@ object Convert extends CaseApp[ConvertOptions] {
os.copy(p, dest / rel, copyAttributes = true)
}

val csSh = FileCache().file(Artifact(csShUrl).withChanging(true)).run.unsafeRun()(FileCache().ec) match {
val csSh = FileCache().file(Artifact(csShUrl)).run.unsafeRun()(FileCache().ec) match {
case Left(e) => throw new Exception(e)
case Right(f) => os.Path(f, os.pwd)
}
Expand Down

0 comments on commit 6dd2c68

Please sign in to comment.