@leverege/build-tools 2.38.0 → 2.38.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/bash-funcs +2 -1
package/package.json
CHANGED
package/src/bash-funcs
CHANGED
|
@@ -145,7 +145,8 @@ function postToSlack() {
|
|
|
145
145
|
local dts="`date +\"%c\"`"
|
|
146
146
|
local slackURL="https://hooks.slack.com/services/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"
|
|
147
147
|
local channel="#dev-ops-helm"
|
|
148
|
-
local
|
|
148
|
+
local account="`gcloud config get account`"
|
|
149
|
+
local slackmsg="\n--- $running by \`$account\` in \`$GCP_PROJECT_ID\` @ $dts\n \`$toPost\`\n node `node --version` / `build-tools --version` / helm `helm version --short`\n"
|
|
149
150
|
|
|
150
151
|
curl -X POST -H 'Content-type: application/json' \
|
|
151
152
|
--data "{\"text\":\"$slackmsg\",\"channel\":\"$channel\"}" \
|