mirror of
https://github.com/PaulHatch/semantic-version.git
synced 2025-12-27 04:58:17 +00:00
Warn if no tags are pulled from remote.
This commit is contained in:
parent
8af45c2a76
commit
9ec6213936
1 changed files with 3 additions and 0 deletions
3
index.js
3
index.js
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue