chore: Fix spelling

This commit is contained in:
James Ives 2022-07-17 09:41:10 -04:00
parent 2991688e3f
commit f08f40f621
2 changed files with 3 additions and 3 deletions

View File

@ -83,7 +83,7 @@ inputs:
required: false required: false
tag: 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 required: false
single-commit: single-commit:

View File

@ -317,13 +317,13 @@ export async function deploy(action: ActionInterface): Promise<Status> {
info(`Changes committed to the ${action.branch} branch… 📦`) info(`Changes committed to the ${action.branch} branch… 📦`)
if (action.tag) { if (action.tag) {
info(`Adding tag '${action.tag}' to the commit`) info(`Adding '${action.tag}' tag to the commit`)
await execute( await execute(
`git tag ${action.tag}`, `git tag ${action.tag}`,
`${action.workspace}/${temporaryDeploymentDirectory}`, `${action.workspace}/${temporaryDeploymentDirectory}`,
action.silent action.silent
) )
info(`Pushing tag '${action.tag}' to repository.`) info(`Pushing '${action.tag}' tag to repository…`)
await execute( await execute(
`git push origin ${action.tag}`, `git push origin ${action.tag}`,
`${action.workspace}/${temporaryDeploymentDirectory}`, `${action.workspace}/${temporaryDeploymentDirectory}`,