sourcegraph/.github/workflows
Robert Lin 1ff9bc70eb
sg-binary-release: stamp with GitHub release name (#62176)
We have nice release names in https://github.com/sourcegraph/sg/releases, but it's not actually programmatically available - this causes a discrepancy between the `sg` version one might pull, and the version of `sg` that is known in-code, and means that we can't do something like #62134.

This change adds a `ReleaseName` variable to be stamped at build/release time, and updates a few references to `BuildCommit` where I think it might be more prudent to report `ReleaseName` instead, and also fixes some yellow squiggles in my IDE on files I visited (sorry) and some noisy `-v` output (sorry again)

## Test plan

```
$ go build -ldflags "-s -w -X main.BuildCommit=$(git rev-list -1 HEAD .) -X main.ReleaseName=hello-world" -o ./sg ./dev/sg                       
$ ./sg version
hello-world
$ ./sg -v version
Version: hello-world
Build commit: b23db0be5e
```
2024-04-25 08:10:55 -07:00
..
backport.yml release: update token used for backport (#56344) 2023-09-04 14:00:50 +01:00
buf-breaking-check.yml Pin third-party actions (#61037) 2024-03-12 16:32:27 +00:00
buildchecker-history.yml Github Acionts: update workflows to use go 1.22 (#60993) 2024-03-11 13:22:26 +02:00
buildchecker.yml Github Acionts: update workflows to use go 1.22 (#60993) 2024-03-11 13:22:26 +02:00
CODENOTIFY internal/resources-report: remove tool (#46941) 2023-01-25 10:34:59 -08:00
codenotify.yml ci: update to actions/checkout@v3 (#46093) 2023-02-21 12:53:43 +00:00
label-move.yml Remove App from codebase (#59115) 2023-12-21 01:07:05 +01:00
label-notify.yml Stop tagging @mrnugget (#59184) 2023-12-21 22:04:15 +00:00
licenses-check.yml Pin third-party actions (#61037) 2024-03-12 16:32:27 +00:00
licenses-update.yml Pin third-party actions (#61037) 2024-03-12 16:32:27 +00:00
lighthouse-production.yml-disabled ci: update to actions/checkout@v3 (#46093) 2023-02-21 12:53:43 +00:00
merge-pr.yml docs: embeddings list automation (#52879) 2023-06-05 15:30:34 -07:00
move-labled-issues-to-project.yml source: Use automated project board workflows (#57487) 2023-10-10 18:47:51 +02:00
pg-utils.yml nix: build pg-utils with nix & upload to GCS (#61658) 2024-04-09 11:54:17 +01:00
pr-auditor.yml Github Acionts: update workflows to use go 1.22 (#60993) 2024-03-11 13:22:26 +02:00
progress.yml progress_bot: use gcloud auth action (#44088) 2022-11-08 10:25:27 -07:00
release-amis.yml Trigger AMI Pipeline on release (#61484) 2024-04-09 12:12:52 -07:00
report-job-failure.yml sentry action reporter: set the repo name in the event message (#59161) 2023-12-21 12:17:58 +00:00
scip-go.yml bump to Go 1.22.1 (#60902) 2024-03-06 17:38:43 -07:00
scip-typescript.yml Pin third-party actions (#61037) 2024-03-12 16:32:27 +00:00
sg-binary-release.yml sg-binary-release: stamp with GitHub release name (#62176) 2024-04-25 08:10:55 -07:00
sg-setup.yml sg: brew link postgresql@12 (#61829) 2024-04-12 14:41:47 +01:00
team-labeler.yml Pin third-party actions (#61037) 2024-03-12 16:32:27 +00:00
tracking-issue.yml actions: create reusable workflow for sentry reports (#59098) 2023-12-20 17:05:03 +02:00
universal-ctags.yml Pin third-party actions (#61037) 2024-03-12 16:32:27 +00:00
update-embeddings-list.yml Pin third-party actions (#61037) 2024-03-12 16:32:27 +00:00
wolfictl-update.yml Automatically check for updates to packaged dependencies (#61933) 2024-04-18 09:53:39 +00:00