Skip to content

Commit

Permalink
update release config
Browse files Browse the repository at this point in the history
  • Loading branch information
agwhi committed May 14, 2021
1 parent 799fd07 commit ef9761f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
{
"github": {
"release": true
},
"hooks": {
"before:init": "yarn lint",
"after:my-plugin:bump": "./bin/my-script.sh",
"after:bump": "yarn build",
"after:git:release": "echo After git push, before github release",
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
}
}
4 changes: 2 additions & 2 deletions src/helpers/general.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ export const AWSClient = AWS;

const cloudformation = new AWSClient.CloudFormation();

export const getStackResources = (stackName) =>
export const getStackResources = (stack) =>
cloudformation
.describeStacks({ StackName: stackName })
.describeStacks({ StackName: stack })
.promise()
.catch((error) => {
console.error(error);
Expand Down

0 comments on commit ef9761f

Please sign in to comment.