1bafacaece43e70cd3158b23b16a6d60f30d8c1b is the commit id for 2.1 release. I obtained it from here:
How can I verify that I have built correct version? I am thinking along the lines of build version number that I can verify maybe in one of the generated files etc.
The first obvious question would be what is your reason for compiling Sync Gateway from source? This isn’t supported, and you should really be running the binaries we release which have been extensively vetted by QE and performance tested before being released.
Back to the original question though, that ID is not for 2.1.
If you really do need to run build it yourself, our bootstrap script will take a branch name, and you can specify ‘release/2.1.0’ instead of hunting for a commit.
As noted on the Couchbase downloads page, the Enterprise Edition of Sync Gateway is available for free for the purposes of evaluation and testing on non-production environments.
It is available free of charge for unlimited pre-production development and testing
Generally speaking, the head of the release branch will be the commit that went GA, but it’s unlikely your build environment will be the same as ours, and you’ll end up with a binary which will be slightly different.