I have a part in my snapcraft.yaml which goes like this
fusemstp:
plugin: make
source: user_mstp
source-branch: feature-branch1
source-type: git
source-subdir: mstp_test
artifacts: [fuse_mstp]
make-parameters: [FUSE_LIB_INSTALL_DIR=$SNAPCRAFT_PART_INSTALL/../../libfuse/install, clean, fuse_mstp ]
after:
- libfuse
the repo is already cloned and is at master
branch. I was expecting snapcraft to switch the branch as per source-branch
but that does not seems to be the case and snap is built with the master
branch itself. Is there something I am doing wrong here ?