Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit 7e2f77f

Browse files
authored
workflows: remove sg-msp variant from sg publish (#62161)
We no longer require a build variant, and MSP is now included by default since https://github.com/sourcegraph/sourcegraph/pull/59087. Remaining reference to the variant was removed in sourcegraph/managed-services#1288.
1 parent 7ace165 commit 7e2f77f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

.github/workflows/sg-binary-release.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,25 +106,21 @@ jobs:
106106
run: |
107107
cd dev/sg
108108
GOARCH=${{ matrix.arch }} go build -o "sg_$(go env GOOS)_${{ matrix.arch }}" -trimpath -ldflags "-s -w -X main.BuildCommit=$(git rev-list -1 HEAD .)" .
109-
GOARCH=${{ matrix.arch }} go build -o "sg-msp_$(go env GOOS)_${{ matrix.arch }}" -tags=msp -trimpath -ldflags "-s -w -X main.BuildCommit=$(git rev-list -1 HEAD .)" .
110109
111110
- name: Build and upload Linux
112111
if: startsWith(matrix.os, 'ubuntu-') == true
113112
run: |
114113
cd dev/sg
115114
GOARCH=${{ matrix.arch }} go build -o "sg_$(go env GOOS)_${{ matrix.arch }}" -trimpath -ldflags "-s -w -X main.BuildCommit=$(git rev-list -1 HEAD .)" .
116-
GOARCH=${{ matrix.arch }} go build -o "sg-msp_$(go env GOOS)_${{ matrix.arch }}" -tags=msp -trimpath -ldflags "-s -w -X main.BuildCommit=$(git rev-list -1 HEAD .)" .
117115
118116
# On certain CI agents, the glibc might not be the right one, so we build a static variant
119117
CGO_ENABLED=0 GOARCH=${{ matrix.arch }} go build -o "sg_$(go env GOOS)_${{ matrix.arch }}_static" -trimpath -ldflags "-s -w -X main.BuildCommit=$(git rev-list -1 HEAD .)" .
120-
CGO_ENABLED=0 GOARCH=${{ matrix.arch }} go build -o "sg-msp_$(go env GOOS)_${{ matrix.arch }}_static" -tags=msp -trimpath -ldflags "-s -w -X main.BuildCommit=$(git rev-list -1 HEAD .)" .
121118
122119
- name: Upload release asset
123120
run: |
124121
cd dev/sg
125122
release_name="${{ needs.create_release.outputs.release_name }}"
126123
gh release upload -R="${repo}" ${release_name} "sg_$(go env GOOS)_${{ matrix.arch }}"
127-
gh release upload -R="${repo}" ${release_name} "sg-msp_$(go env GOOS)_${{ matrix.arch }}"
128124
env:
129125
repo: sourcegraph/sg
130126
GITHUB_TOKEN: ${{ secrets.SG_RELEASE_TOKEN }}
@@ -135,7 +131,6 @@ jobs:
135131
cd dev/sg
136132
release_name="${{ needs.create_release.outputs.release_name }}"
137133
gh release upload -R="${repo}" ${release_name} "sg_$(go env GOOS)_${{ matrix.arch }}_static"
138-
gh release upload -R="${repo}" ${release_name} "sg-msp_$(go env GOOS)_${{ matrix.arch }}_static"
139134
env:
140135
repo: sourcegraph/sg
141136
GITHUB_TOKEN: ${{ secrets.SG_RELEASE_TOKEN }}

0 commit comments

Comments
 (0)