Skip to content

Commit

Permalink
Fix typo in Makefile Slack notification command
Browse files Browse the repository at this point in the history
Corrected a typo in the `Makefile` under the `scripts/govtool` directory
that caused the Slack notification command to fail. The typo in the git
revision parsing command (`git-rev-parse HEAD`) was corrected to `git
rev-parse HEAD`, ensuring that the command correctly retrieves the
current commit hash. This fix ensures that notifications sent to Slack
upon deployment include the accurate commit hash from which the
deployment was made, improving traceability and communication in
deployment processes.
  • Loading branch information
placek committed Feb 22, 2024
1 parent 44c6fa2 commit 4dbbd38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/govtool/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ info:
notify:
@:$(call check_defined, cardano_network)
@:$(call check_defined, env)
curl -X POST -H "Authorization: Bearer $$GRAFANA_SLACK_OAUTH_TOKEN" -d "channel=$$GRAFANA_SLACK_RECIPIENT" -d "text=The deploy to $(env) has been made from branch $(branch) ($(shell git-rev-parse HEAD))" https://slack.com/api/chat.postMessage
curl -X POST -H "Authorization: Bearer $$GRAFANA_SLACK_OAUTH_TOKEN" -d "channel=$$GRAFANA_SLACK_RECIPIENT" -d "text=The deploy to $(env) has been made from branch $(branch) ($(shell git rev-parse HEAD))" https://slack.com/api/chat.postMessage

.PHONY: ssh
ssh:
Expand Down

0 comments on commit 4dbbd38

Please sign in to comment.