feat: implement (optional) semver parsing of version (#213)

This commit is contained in:
Radek Simko
2020-06-15 17:05:51 +01:00
committed by GitHub
parent de0cc32957
commit 62b67a060c
9 changed files with 1572 additions and 9 deletions
-2
View File
@@ -3,7 +3,6 @@ import * as git from '../src/git';
describe('git', () => {
it('returns git tag', async () => {
const tag: string = await git.getTag();
console.log(tag);
expect(tag).not.toEqual('');
});
it('checks if tag is dirty', async () => {
@@ -11,7 +10,6 @@ describe('git', () => {
});
it('returns short commit', async () => {
const commit: string = await git.getShortCommit();
console.log(commit);
expect(commit).not.toEqual('');
});
});