diff options
author | Matt Rendina <mrendina@stsci.edu> | 2018-09-27 08:28:02 -0400 |
---|---|---|
committer | Matt Rendina <mrendina@stsci.edu> | 2018-09-27 08:28:02 -0400 |
commit | d24f1e81638ff8eac7f963996b995b58c0d899fe (patch) | |
tree | f3d1eaec64fdc5c055b27408a3787427c274606d | |
parent | 93a20c946bf2ceda5540356ae5c8fef54b80ac11 (diff) | |
download | astroconda-dev-d24f1e81638ff8eac7f963996b995b58c0d899fe.tar.gz |
Add version override capability similar to the JWST recipe.
-rw-r--r-- | hstcal/meta.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hstcal/meta.yaml b/hstcal/meta.yaml index 3fd0447..c51e721 100644 --- a/hstcal/meta.yaml +++ b/hstcal/meta.yaml @@ -29,6 +29,12 @@ requirements: - libgcc >=4.7 source: + # The git rev may be overridden by setting an env var with the name + # "ASCO_GIT_REV_<package short name>" before building the recipe. + # i.e "ASCO_GIT_REV_hstcal=2.0.0" + # The value may be a git full hash, short hash, branch, or tag name. + # The default value is "master". + git_rev: {{ environ.get("ASCO_GIT_REV_"+name, "master") }} git_url: https://github.com/spacetelescope/{{ name }}.git test: |