Skip to content

Commit

Permalink
chore: Fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesIves committed Jul 17, 2022
1 parent 2991688 commit f08f40f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions src/git.ts
Original file line number Diff line number Diff line change
Expand Up @@ -317,13 +317,13 @@ export async function deploy(action: ActionInterface): Promise<Status> {
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}`,
Expand Down

0 comments on commit f08f40f

Please sign in to comment.