Skip to content

Commit

Permalink
ci: fix slack notifications team alias ⭐
Browse files Browse the repository at this point in the history
Signed-off-by: Salim Afiune Maya <[email protected]>
  • Loading branch information
afiune committed Jan 6, 2021
1 parent 78905bb commit ca51f92
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2.1
parameters:
slack-mentions:
type: string
default: 'allies'
default: 'S01JP5A3ACQ'
only_for_branches:
type: string
default: 'master'
Expand Down
4 changes: 4 additions & 0 deletions cli/cmd/package_manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ func (c *cliState) GeneratePackageManifest() (*api.PackageManifest, error) {
defer func() {
c.Event.DurationMs = time.Since(start).Milliseconds()
if err == nil {
// if this function returns an error, most likely,
// the command will send a honeyvent with that error,
// therefore we should duplicate events and only send
// one here if there is NO error
c.SendHoneyvent()
}
}()
Expand Down

0 comments on commit ca51f92

Please sign in to comment.