Skip to content

Commit

Permalink
account for manual tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
arunasank committed Jul 10, 2018
1 parent 4506f75 commit 2c9a670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/watchbot-binary-generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const getTagForSha = async (sha) => {
data.forEach((ref) => {
ref = ref.split('\t');
if (ref[0] !== sha) return;
const tagRegex = /refs\/tags\/(v[0-9.-]+)(\^\{(.*)\})*/;
const tagRegex = /refs\/tags\/(v?[0-9.-]+)(\^\{(.*)\})*/;
return resolve(tagRegex.exec(ref[1])[1]);
});
return resolve(null);
Expand Down

0 comments on commit 2c9a670

Please sign in to comment.