()
| 107 | } |
| 108 | |
| 109 | static async getLatestTag() { |
| 110 | try{ |
| 111 | const {stdout} = await exec(`git for-each-ref refs/tags --sort=-taggerdate --format='%(refname)' --count=1`); |
| 112 | |
| 113 | return stdout.split('/').pop(); |
| 114 | } catch (e) {} |
| 115 | } |
| 116 | |
| 117 | static normalizeTag(tag){ |
| 118 | return tag ? 'v' + tag.replace(/^v/, '') : ''; |
nothing calls this directly
no outgoing calls
no test coverage detected