Warn if no tags are pulled from remote.

This commit is contained in:
Paul Hatcherian 2019-12-14 16:44:50 -05:00
parent 8af45c2a76
commit 9ec6213936

View file

@ -67,6 +67,9 @@ async function run() {
let root;
if (tag === '') {
if (remoteExists) {
core.warning('No tags are present for this repository. If this is unexpected, check to ensure that tags have been pulled from the remote.');
}
// no release tags yet, use the initial commit as the root
root = '';
} else {