detached b3a79eb

#4 ci(release): publish GoReleaser releases on ermite, Go 1.27.3

state
merged · b3a79eb · fast-forward
branch
ci/ermite-release → main
opened
bnema ·
updated

Publish releases on the ermite forge instead of GitHub.

  • .goreleaser.yaml: github_urls come from GITHUB_API_URL / GITHUB_SERVER_URL, which the ermite runner points at the address a job can reach (the public git.bnema.dev is not reachable from a sandbox). Public URLs stay as the fallback for a local run.
  • go.mod: go 1.27.3.
  • release.yml is enabled on ermite.

Verified: tag v0.4.1-rc.2 -> run 175 published a draft release with 6 archives + checksums.txt (stored in S3).

CommitSubjectAuthorDateSignatureStatus
b3a79ebci(release): reach the forge through the runner-provided API URL, require Go 1.27.3briceGPG Verified
9e8c6efci(release): publish GoReleaser releases on the ermite forgebriceGPG Verified

Checks 5

2 files · +12 -1
5/5
M .goreleaser.yaml +11 -0
@@ -1,6 +1,17 @@
11 version: 2
22
3+# Releases are published on the ermite forge through its GitHub-compatible API.
4+# In CI the runner sets GITHUB_API_URL and GITHUB_SERVER_URL to the address the
5+# job can reach; the public URLs are the fallback for a local run.
6+github_urls:
7+ api: '{{ or (index .Env "GITHUB_API_URL") "https://git.bnema.dev/-/github/api" }}/'
8+ upload: '{{ or (index .Env "GITHUB_API_URL") "https://git.bnema.dev/-/github/api" }}/uploads/'
9+ download: '{{ or (index .Env "GITHUB_SERVER_URL") "https://git.bnema.dev" }}/'
10+
311 release:
12+ github:
13+ owner: bnema
14+ name: hexcheck
415 draft: true
516 prerelease: auto
617
@@ -1,6 +1,17 @@
1 version: 21 version: 2
2 2
3+# Releases are published on the ermite forge through its GitHub-compatible API.
4+# In CI the runner sets GITHUB_API_URL and GITHUB_SERVER_URL to the address the
5+# job can reach; the public URLs are the fallback for a local run.
6+github_urls:
7+ api: '{{ or (index .Env "GITHUB_API_URL") "https://git.bnema.dev/-/github/api" }}/'
8+ upload: '{{ or (index .Env "GITHUB_API_URL") "https://git.bnema.dev/-/github/api" }}/uploads/'
9+ download: '{{ or (index .Env "GITHUB_SERVER_URL") "https://git.bnema.dev" }}/'
10+
3 release:11 release:
12+ github:
13+ owner: bnema
14+ name: hexcheck
4 draft: true15 draft: true
5 prerelease: auto16 prerelease: auto
6 17
M go.mod +1 -1
@@ -1,6 +1,6 @@
11 module github.com/bnema/hexcheck
22
3-go 1.26.0
3+go 1.27.3
44
55 require (
66 github.com/golangci/plugin-module-register v0.1.2
@@ -1,6 +1,6 @@
1 module github.com/bnema/hexcheck1 module github.com/bnema/hexcheck
2 2
3-go 1.26.03+go 1.27.3
4 4
5 require (5 require (
6 github.com/golangci/plugin-module-register v0.1.26 github.com/golangci/plugin-module-register v0.1.2

Comments0 open / 0

no comments yet.

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
l
merge request: the list of files (j k move, enter opens, esc back)
M
merge request: the merge menu; there 1–3 pick the mode, D deletes the branch, enter merges
R
merge request: mark the head read
esc
close a dialog, leave a field

Branches 1

Tags 5

↑↓ moveenter openesc close