Hello, maybe it can be helpfull for you. So you can get commit hash of your tag with bitbucket api: curl -s -L https://api.bitbucket.org/2.0/repositories/berkeleylab/metabat/refs/tags/v2.15 |jq -C -r .target.hash
Other way is to use more generic git mode: cat <<'EOF'>debian/watch version=4 opts="mode=git,pgpmode=gittag,dversionmangle=auto" \ https://bitbucket.org/berkeleylab/metabat.git refs/tags/v([\d\.\d]+) EOF Best Regards, Juri Grabowski