Skip to content

Commit e91ffa3

Browse files
committed
Record in package.py how to use a specific Z3 release.
1 parent 205f671 commit e91ffa3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@
1515
# Configuration
1616

1717
## Where do we fetch the list of releases from?
18-
RELEASES_URL = "https://api.github.com/repos/Z3Prover/z3/releases/latest"
18+
## Get the latest release like this:
19+
## RELEASES_URL = "https://api.github.com/repos/Z3Prover/z3/releases/latest"
20+
## Get a specific release like this:
21+
RELEASES_URL = "https://api.github.com/repos/Z3Prover/z3/releases/tags/z3-4.5.0"
1922
## How do we extract info from the name of a release file?
2023
RELEASE_REGEXP = re.compile(r"^(?P<directory>z3-[0-9\.]+-(?P<platform>x86|x64)-(?P<os>[a-z0-9\.\-]+)).zip$", re.IGNORECASE)
2124

0 commit comments

Comments
 (0)