rattler-build version: 0.13.0 installed from conda-forge
Running twice the building of the following recipe provides two different source directories. The first time, the source files correspond to the master (i.e. default) git branch whereas the second time source directory is on the requested tag. As long as the source cache exists in the output directory, the source directory is on the appropriate tag. If the cache is removed, the masterbranch is selected again.
Recipe file /tmp/recipe/recipe.yaml:
package:
name: libminc
version: 2.3.0
source:
git: https://github.com/BIC-MNI/libminc
tag: libminc-2-3-00
requirements:
build:
- git
build:
number: 0
script: |
# Just print the current git status and the content of the source directory
# to see differences in file size (e.g. on CMakeList.txt)
git -C "$SRC_DIR" status
ls -la "$SRC_DIR"
Running twice the following command on an unexisting output directory shows two different content for the source directory:
rattler-build version: 0.13.0 installed from conda-forge
Running twice the building of the following recipe provides two different source directories. The first time, the source files correspond to the
master
(i.e. default) git branch whereas the second time source directory is on the requested tag. As long as the source cache exists in the output directory, the source directory is on the appropriate tag. If the cache is removed, themaster
branch is selected again.Recipe file
/tmp/recipe/recipe.yaml
:Running twice the following command on an unexisting output directory shows two different content for the source directory: