diff --git a/action.yml b/action.yml index 4474464d..5b1cc054 100644 --- a/action.yml +++ b/action.yml @@ -83,7 +83,7 @@ inputs: required: false tag: - description: "Add a tag to the commit. Only works when 'dry-run' is not used." + description: "Add a tag to the commit, this can be used like so: 'v0.1'. Only works when 'dry-run' is not used." required: false single-commit: diff --git a/src/git.ts b/src/git.ts index 3e65c773..5f6a73d6 100644 --- a/src/git.ts +++ b/src/git.ts @@ -317,13 +317,13 @@ export async function deploy(action: ActionInterface): Promise { info(`Changes committed to the ${action.branch} branch… 📦`) if (action.tag) { - info(`Adding tag '${action.tag}' to the commit`) + info(`Adding '${action.tag}' tag to the commit…`) await execute( `git tag ${action.tag}`, `${action.workspace}/${temporaryDeploymentDirectory}`, action.silent ) - info(`Pushing tag '${action.tag}' to repository.`) + info(`Pushing '${action.tag}' tag to repository…`) await execute( `git push origin ${action.tag}`, `${action.workspace}/${temporaryDeploymentDirectory}`,