-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install Augur from the latest stable version tag instead of the "rele…
…ase" branch The "release" branch was recently removed.¹ Instead, use the Git tag for the latest stable version released to PyPI. There's a larger discussion to be had about if it makes any sense any more for Augur to be installed from Git instead of PyPI (and correspondingly, Auspice from NPM), but that's for another time. ¹ nextstrain/augur#913
- Loading branch information
Showing
2 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
# | ||
# Outputs the Git tag for the latest stable release of Augur, supplanting the | ||
# old "release" branch which no longer exists. | ||
# | ||
# By convention/process we make Git tags for each version released to PyPI, so | ||
# query PyPI's index for the latest stable version and emit that as-is. | ||
# | ||
set -euo pipefail | ||
|
||
curl -fsSL https://pypi.org/pypi/nextstrain-augur/json | jq -r .info.version |