Cannot upload sourcemaps to Sentry

When trying to upload sourcemaps to Sentry, I have always gotten the following error:

Error uploading sourcemaps to Sentry: No commits found. Leaving release alone.

I do see prior to this error the actual .map files being built and a release version being cut. I can’t find anything regarding why the system thinks I have no commits found? We are using git with bitbucket as our provider.