Skip to content

Commit 784e2a4

Browse files
committed
fix(release): fetch private tsdb via GOPRIVATE instead of replace
Avoid mutating go.mod before GoReleaser, which requires a clean tree.
1 parent 00218d2 commit 784e2a4

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,10 @@ jobs:
3939
run: |
4040
git config --global url."https://x-access-token:${{ secrets.GH_PAT }}@github.com/".insteadOf "https://github.com/"
4141
42-
- name: Wire private dependency
43-
run: go mod edit -replace=github.com/dl-alexandre/cimis-tsdb=./_deps/cimis-tsdb
42+
- name: Download dependencies
43+
run: go mod download
44+
env:
45+
GOPRIVATE: github.com/dl-alexandre/*
4446

4547
- name: Run GoReleaser
4648
uses: goreleaser/goreleaser-action@v7

0 commit comments

Comments
 (0)