diff --git a/__tests__/git.test.ts b/__tests__/git.test.ts index 5a33bdd5..3905cc94 100644 --- a/__tests__/git.test.ts +++ b/__tests__/git.test.ts @@ -463,11 +463,11 @@ describe('git', () => { name: 'asd', email: 'as@cat' }, - isTest: TestFlag.NONE + isTest: TestFlag.HAS_CHANGED_FILES }) const response = await deploy(action) - expect(execute).toBeCalledTimes(13) // normally 11 runs, +2 of the tag + expect(execute).toBeCalledTimes(16) expect(response).toBe(Status.SUCCESS) }) }) diff --git a/src/git.ts b/src/git.ts index 5f6a73d6..8625a132 100644 --- a/src/git.ts +++ b/src/git.ts @@ -317,6 +317,7 @@ export async function deploy(action: ActionInterface): Promise { info(`Changes committed to the ${action.branch} branch… đŸ“¦`) if (action.tag) { + console.log('ADDING TAG!!!') info(`Adding '${action.tag}' tag to the commit…`) await execute( `git tag ${action.tag}`,