Skip to content

Commit

Permalink
Changed install script to pull specific commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mwetter committed Nov 3, 2020
1 parent 1f2081d commit 40e6688
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Buildings/Resources/src/ThermalZones/EnergyPlus/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,15 @@ def get_distribution(dis):


if __name__ == "__main__":
# Commit, see https://gitlab.com/kylebenne/spawn/-/pipelines?scope=all&page=1
# Also available is latest/Spawn-latest-{Linux,win64,Darwin}
# The setup below lead to a specific commit being pulled.
commit = "1ad59a6dbf"
name_version = f"Spawn-0.0.1-{commit}"

dists = list()
dists.append(
{"src": "https://spawn.s3.amazonaws.com/latest/Spawn-latest-Linux.tar.gz",
{"src": f"https://spawn.s3.amazonaws.com/builds/{name_version}-Linux.tar.gz",
"des": "spawn-linux64",
"files": {
"bin/spawn" : "",
Expand All @@ -90,7 +96,7 @@ def get_distribution(dis):
}
)
dists.append(
{"src": "https://spawn.s3.amazonaws.com/latest/Spawn-latest-win64.zip",
{"src": f"https://spawn.s3.amazonaws.com/builds/{name_version}-win64.zip",
"des": "spawn-win64",
"files": {
"bin/epfmi.dll" : "",
Expand Down

0 comments on commit 40e6688

Please sign in to comment.