Commit 75e9fc4
authored
fix: remove COMMIT_SHA from make deploy target (GoogleCloudPlatform#714)
* fix: remove COMMIT_SHA from make deploy target
The deploy Makefile target used `git rev-parse HEAD` to set COMMIT_SHA,
which fails if the project hasn't been initialized as a git repo yet.
Since `make deploy` is intended for local development, COMMIT_SHA is
not needed. CI/CD pipelines handle commit tracking separately. The
telemetry code already defaults to "dev" when COMMIT_SHA is unset.1 parent 3d6d09a commit 75e9fc4
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
283 | | - | |
| 283 | + | |
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
| |||
0 commit comments