Skip to content

Commit b5057fe

Browse files
committed
fix(release): wire private tsdb dep and drop flatpak packaging
Use a local replace for cimis-tsdb in CI and set GOPRIVATE so tests and GoReleaser can build without flatpak-builder on ubuntu-latest.
1 parent 30e3846 commit b5057fe

2 files changed

Lines changed: 7 additions & 10 deletions

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,13 @@ 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
44+
4245
- name: Run tests
4346
run: go test ./...
47+
env:
48+
GOPRIVATE: github.com/dl-alexandre/*
4449

4550
- name: Run GoReleaser
4651
uses: goreleaser/goreleaser-action@v7
@@ -51,4 +56,5 @@ jobs:
5156
env:
5257
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5358
HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}
54-
SCOOP_BUCKET_TOKEN: ${{ secrets.SCOOP_BUCKET_TOKEN }}
59+
SCOOP_BUCKET_TOKEN: ${{ secrets.SCOOP_BUCKET_TOKEN }}
60+
GOPRIVATE: github.com/dl-alexandre/*

.goreleaser.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -104,15 +104,6 @@ brews:
104104
install: |
105105
bin.install "cimis"
106106
107-
flatpak:
108-
- app_id: net.ddns.dl-alexandre.CIMISCLI
109-
runtime: org.freedesktop.Platform
110-
runtime_version: "24.08"
111-
sdk: org.freedesktop.Sdk
112-
finish_args:
113-
- --share=network
114-
- --filesystem=home
115-
116107
scoops:
117108
- repository:
118109
owner: dl-alexandre

0 commit comments

Comments
 (0)