@@ -40,7 +40,7 @@ mm v0.1.7 (go1.26.5, darwin/arm64)
40
40
41
41
| Where it comes from | What you see |
42
42
|---|---|
43
-| A release binary, stamped at build time by `local-ci-2-build.sh` | The tag: `v0.1.7` |
43
+| A release binary, stamped at build time by `local-ci-02-build.sh` | The tag: `v0.1.7` |
44
44
| `go install`ed from a tagged version | That tag |
45
45
| Built by hand from a working tree (`go build`, `./install.sh`) | The short commit, `9073268`, with `+dirty` when the tree had uncommitted changes |
46
46
| Built with `-buildvcs=false` | `unknown` |
@@ -40,7 +40,7 @@ mm v0.1.7 (go1.26.5, darwin/arm64)
40
40
41
| Where it comes from | What you see |
41
| Where it comes from | What you see |
42
|---|---|
42
|---|---|
43
-| A release binary, stamped at build time by `local-ci-2-build.sh` | The tag: `v0.1.7` |
43
+| A release binary, stamped at build time by `local-ci-02-build.sh` | The tag: `v0.1.7` |
44
| `go install`ed from a tagged version | That tag |
44
| `go install`ed from a tagged version | That tag |
45
| Built by hand from a working tree (`go build`, `./install.sh`) | The short commit, `9073268`, with `+dirty` when the tree had uncommitted changes |
45
| Built by hand from a working tree (`go build`, `./install.sh`) | The short commit, `9073268`, with `+dirty` when the tree had uncommitted changes |
46
| Built with `-buildvcs=false` | `unknown` |
46
| Built with `-buildvcs=false` | `unknown` |
modifieddocs/fr/reference/cli.md+1-1
@@ -40,7 +40,7 @@ mm v0.1.7 (go1.26.5, darwin/arm64)
40
40
41
41
| D'où elle vient | Ce que vous voyez |
42
42
|---|---|
43
-| Un binaire de release, estampillé à la construction par `local-ci-2-build.sh` | Le tag : `v0.1.7` |
43
+| Un binaire de release, estampillé à la construction par `local-ci-02-build.sh` | Le tag : `v0.1.7` |
44
44
| Installé par `go install` depuis une version taguée | Ce tag |
45
45
| Construit à la main depuis un arbre de travail (`go build`, `./install.sh`) | Le commit court, `9073268`, suivi de `+dirty` si l'arbre avait des modifications non validées |
46
46
| Construit avec `-buildvcs=false` | `unknown` |
@@ -40,7 +40,7 @@ mm v0.1.7 (go1.26.5, darwin/arm64)
40
40
41
| D'où elle vient | Ce que vous voyez |
41
| D'où elle vient | Ce que vous voyez |
42
|---|---|
42
|---|---|
43
-| Un binaire de release, estampillé à la construction par `local-ci-2-build.sh` | Le tag : `v0.1.7` |
43
+| Un binaire de release, estampillé à la construction par `local-ci-02-build.sh` | Le tag : `v0.1.7` |
44
| Installé par `go install` depuis une version taguée | Ce tag |
44
| Installé par `go install` depuis une version taguée | Ce tag |
45
| Construit à la main depuis un arbre de travail (`go build`, `./install.sh`) | Le commit court, `9073268`, suivi de `+dirty` si l'arbre avait des modifications non validées |
45
| Construit à la main depuis un arbre de travail (`go build`, `./install.sh`) | Le commit court, `9073268`, suivi de `+dirty` si l'arbre avait des modifications non validées |
# Reads TAG, ABOUT, OWNER and REPO from .release.env, and CI_TOKEN from
13
# Reads TAG, ABOUT, OWNER and REPO from .release.env, and CI_TOKEN from
14
# .ci.cd.token.env. The token never reaches argv: curl and git read it from
14
# .ci.cd.token.env. The token never reaches argv: curl and git read it from
renamedlocal-ci-01-check.sh+2-2
similarity index 85%
rename from local-ci-1-check.sh
rename to local-ci-01-check.sh
@@ -1,6 +1,6 @@
1
1
#!/usr/bin/env bash
2
-# local-ci-1-check.sh — gofmt, vet and tests.
3
-source"$(dirname "$0")/local-ci-0-common.sh"
2
+# local-ci-01-check.sh — gofmt, vet and tests.
3
+source"$(dirname "$0")/local-ci-00-common.sh"
4
4
5
5
echo"==> gofmt"
6
6
# The files on disk, not git's index: a folder moved but not yet staged is still
similarity index 85%
rename from local-ci-1-check.sh
rename to local-ci-01-check.sh
@@ -1,6 +1,6 @@
1
#!/usr/bin/env bash
1
#!/usr/bin/env bash
2
-# local-ci-1-check.sh — gofmt, vet and tests.
2
+# local-ci-01-check.sh — gofmt, vet and tests.
3
-source"$(dirname "$0")/local-ci-0-common.sh"
3
+source"$(dirname "$0")/local-ci-00-common.sh"
4
4
5
echo"==> gofmt"
5
echo"==> gofmt"
6
# The files on disk, not git's index: a folder moved but not yet staged is still
6
# The files on disk, not git's index: a folder moved but not yet staged is still
renamedlocal-ci-02-build.sh+2-2
similarity index 97%
rename from local-ci-2-build.sh
rename to local-ci-02-build.sh
@@ -1,5 +1,5 @@
1
1
#!/usr/bin/env bash
2
-# local-ci-2-build.sh — the binaries for every platform, in release/<TAG>/.
2
+# local-ci-02-build.sh — the binaries for every platform, in release/<TAG>/.
3
3
#
4
4
# Only the Go toolchain is needed: every binary is a plain `go build`.
5
5
#
@@ -7,7 +7,7 @@
7
7
# mm-<version>-<os>-<arch>[.exe] one binary per platform
8
8
# SHA256SUMS checksums of the binaries
9
9
# README.md download table + how to run
10
-source "$(dirname "$0")/local-ci-0-common.sh"
10
+source "$(dirname "$0")/local-ci-00-common.sh"
11
11
12
12
ABOUT="${ABOUT:-Mini Me ${TAG}}"
13
13
similarity index 97%
rename from local-ci-2-build.sh
rename to local-ci-02-build.sh
@@ -1,5 +1,5 @@
1
#!/usr/bin/env bash
1
#!/usr/bin/env bash
2
-# local-ci-2-build.sh — the binaries for every platform, in release/<TAG>/.
2
+# local-ci-02-build.sh — the binaries for every platform, in release/<TAG>/.
3
#
3
#
4
# Only the Go toolchain is needed: every binary is a plain `go build`.
4
# Only the Go toolchain is needed: every binary is a plain `go build`.
5
#
5
#
@@ -7,7 +7,7 @@
7
# mm-<version>-<os>-<arch>[.exe] one binary per platform
7
# mm-<version>-<os>-<arch>[.exe] one binary per platform
8
# SHA256SUMS checksums of the binaries
8
# SHA256SUMS checksums of the binaries
9
# README.md download table + how to run
9
# README.md download table + how to run
10
-source "$(dirname "$0")/local-ci-0-common.sh"
10
+source "$(dirname "$0")/local-ci-00-common.sh"
11
11
12
ABOUT="${ABOUT:-Mini Me ${TAG}}"
12
ABOUT="${ABOUT:-Mini Me ${TAG}}"
13
13
renamedlocal-ci-03-create-draft.sh+3-3
similarity index 91%
rename from local-ci-3-create-draft.sh
rename to local-ci-03-create-draft.sh
@@ -1,12 +1,12 @@
1
1
#!/usr/bin/env bash
2
-# local-ci-3-create-draft.sh — the tag and a draft prerelease on Rickub.
2
+# local-ci-03-create-draft.sh — the tag and a draft prerelease on Rickub.
3
3
#
4
4
# Refuses when the binaries would not be what the tag names: the working tree
5
5
# must be clean and HEAD must be on the remote's main.
6
-source"$(dirname "$0")/local-ci-0-common.sh"
6
+source"$(dirname "$0")/local-ci-00-common.sh"
7
7
load_token
8
8
9
-[ -f "${assets_dir}/SHA256SUMS"]||{echo"❌ no ${assets_dir}/SHA256SUMS: run local-ci-2-build.sh";exit 2;}
9
+[ -f "${assets_dir}/SHA256SUMS"]||{echo"❌ no ${assets_dir}/SHA256SUMS: run local-ci-02-build.sh";exit 2;}
10
10
11
11
head_sha="$(git rev-parse HEAD)"
12
12
if[ -z "${LOCAL_CI_SKIP_GIT_CHECK:-}"];then
similarity index 91%
rename from local-ci-3-create-draft.sh
rename to local-ci-03-create-draft.sh
@@ -1,12 +1,12 @@
1
#!/usr/bin/env bash
1
#!/usr/bin/env bash
2
-# local-ci-3-create-draft.sh — the tag and a draft prerelease on Rickub.
2
+# local-ci-03-create-draft.sh — the tag and a draft prerelease on Rickub.
3
#
3
#
4
# Refuses when the binaries would not be what the tag names: the working tree
4
# Refuses when the binaries would not be what the tag names: the working tree
5
# must be clean and HEAD must be on the remote's main.
5
# must be clean and HEAD must be on the remote's main.
6
-source"$(dirname "$0")/local-ci-0-common.sh"
6
+source"$(dirname "$0")/local-ci-00-common.sh"
7
load_token
7
load_token
8
8
9
-[ -f "${assets_dir}/SHA256SUMS"]||{echo"❌ no ${assets_dir}/SHA256SUMS: run local-ci-2-build.sh";exit 2;}
9
+[ -f "${assets_dir}/SHA256SUMS"]||{echo"❌ no ${assets_dir}/SHA256SUMS: run local-ci-02-build.sh";exit 2;}
10
10
11
head_sha="$(git rev-parse HEAD)"
11
head_sha="$(git rev-parse HEAD)"
12
if[ -z "${LOCAL_CI_SKIP_GIT_CHECK:-}"];then
12
if[ -z "${LOCAL_CI_SKIP_GIT_CHECK:-}"];then
renamedlocal-ci-04-upload.sh+4-4
similarity index 94%
rename from local-ci-4-upload.sh
rename to local-ci-04-upload.sh
@@ -1,11 +1,11 @@
1
1
#!/usr/bin/env bash
2
-# local-ci-4-upload.sh — the binaries of release/<TAG>/ onto the draft.
2
+# local-ci-04-upload.sh — the binaries of release/<TAG>/ onto the draft.
3
3
#
4
4
# Rickub only accepts uploads from the token of a CI job. So this pushes a
5
5
# temporary orphan branch holding the binaries and a one-job workflow, waits for
6
6
# the job, and deletes the branch, whatever happened. The local checkout is
7
7
# never touched.
8
-source"$(dirname "$0")/local-ci-0-common.sh"
8
+source"$(dirname "$0")/local-ci-00-common.sh"
9
9
load_token
10
10
11
11
branch="local-ci-publish-${TAG}"
@@ -22,8 +22,8 @@ remove_branch() {
22
22
}
23
23
trap remove_branch EXIT
24
24
25
-[ -f "${assets_dir}/SHA256SUMS"]||{echo"❌ no ${assets_dir}/SHA256SUMS: run local-ci-2-build.sh";exit 2;}
26
-["$(release_field draft)"="true"]||{echo"❌ ${TAG} is not a draft: run local-ci-3-create-draft.sh";exit 1;}
25
+[ -f "${assets_dir}/SHA256SUMS"]||{echo"❌ no ${assets_dir}/SHA256SUMS: run local-ci-02-build.sh";exit 2;}
26
+["$(release_field draft)"="true"]||{echo"❌ ${TAG} is not a draft: run local-ci-03-create-draft.sh";exit 1;}
27
27
28
28
echo"==> preparing the temporary branch"
29
29
git init -q -b "${branch}""${work}/branch"
similarity index 94%
rename from local-ci-4-upload.sh
rename to local-ci-04-upload.sh
@@ -1,11 +1,11 @@
1
#!/usr/bin/env bash
1
#!/usr/bin/env bash
2
-# local-ci-4-upload.sh — the binaries of release/<TAG>/ onto the draft.
2
+# local-ci-04-upload.sh — the binaries of release/<TAG>/ onto the draft.
3
#
3
#
4
# Rickub only accepts uploads from the token of a CI job. So this pushes a
4
# Rickub only accepts uploads from the token of a CI job. So this pushes a
5
# temporary orphan branch holding the binaries and a one-job workflow, waits for
5
# temporary orphan branch holding the binaries and a one-job workflow, waits for
6
# the job, and deletes the branch, whatever happened. The local checkout is
6
# the job, and deletes the branch, whatever happened. The local checkout is
7
# never touched.
7
# never touched.
8
-source"$(dirname "$0")/local-ci-0-common.sh"
8
+source"$(dirname "$0")/local-ci-00-common.sh"
9
load_token
9
load_token
10
10
11
branch="local-ci-publish-${TAG}"
11
branch="local-ci-publish-${TAG}"
@@ -22,8 +22,8 @@ remove_branch() {
22
}
22
}
23
trap remove_branch EXIT
23
trap remove_branch EXIT
24
24
25
-[ -f "${assets_dir}/SHA256SUMS"]||{echo"❌ no ${assets_dir}/SHA256SUMS: run local-ci-2-build.sh";exit 2;}
25
+[ -f "${assets_dir}/SHA256SUMS"]||{echo"❌ no ${assets_dir}/SHA256SUMS: run local-ci-02-build.sh";exit 2;}
26
-["$(release_field draft)"="true"]||{echo"❌ ${TAG} is not a draft: run local-ci-3-create-draft.sh";exit 1;}
26
+["$(release_field draft)"="true"]||{echo"❌ ${TAG} is not a draft: run local-ci-03-create-draft.sh";exit 1;}
27
27
28
echo"==> preparing the temporary branch"
28
echo"==> preparing the temporary branch"
29
git init -q -b "${branch}""${work}/branch"
29
git init -q -b "${branch}""${work}/branch"
renamedlocal-ci-05-publish.sh+4-4
similarity index 85%
rename from local-ci-5-publish.sh
rename to local-ci-05-publish.sh
@@ -1,15 +1,15 @@
1
1
#!/usr/bin/env bash
2
-# local-ci-5-publish.sh — the draft becomes public, as a prerelease.
2
+# local-ci-05-publish.sh — the draft becomes public, as a prerelease.
3
3
#
4
4
# On Rickub a published prerelease becomes /releases/latest, so everybody who
5
5
# downloads the latest version gets this one. It asks you to type the tag first,
6
6
# then downloads what is public and compares it with release/<TAG>/.
7
-source"$(dirname "$0")/local-ci-0-common.sh"
7
+source"$(dirname "$0")/local-ci-00-common.sh"
8
8
load_token
9
9
10
-[ -f "${assets_dir}/SHA256SUMS"]||{echo"❌ no ${assets_dir}/SHA256SUMS: run local-ci-2-build.sh";exit 2;}
10
+[ -f "${assets_dir}/SHA256SUMS"]||{echo"❌ no ${assets_dir}/SHA256SUMS: run local-ci-02-build.sh";exit 2;}
11
11
id="$(release_field id)"
12
-[ -n "${id}"]||{echo"❌ no release ${TAG}: run local-ci-3-create-draft.sh";exit 1;}
12
+[ -n "${id}"]||{echo"❌ no release ${TAG}: run local-ci-03-create-draft.sh";exit 1;}
13
13
["$(release_field draft)"="true"]||{echo"❌ ${TAG} is already public";exit 1;}
14
14
15
15
echo"/releases/latest is now: $(latest_location)"
similarity index 85%
rename from local-ci-5-publish.sh
rename to local-ci-05-publish.sh
@@ -1,15 +1,15 @@
1
#!/usr/bin/env bash
1
#!/usr/bin/env bash
2
-# local-ci-5-publish.sh — the draft becomes public, as a prerelease.
2
+# local-ci-05-publish.sh — the draft becomes public, as a prerelease.
3
#
3
#
4
# On Rickub a published prerelease becomes /releases/latest, so everybody who
4
# On Rickub a published prerelease becomes /releases/latest, so everybody who
5
# downloads the latest version gets this one. It asks you to type the tag first,
5
# downloads the latest version gets this one. It asks you to type the tag first,
6
# then downloads what is public and compares it with release/<TAG>/.
6
# then downloads what is public and compares it with release/<TAG>/.
7
-source"$(dirname "$0")/local-ci-0-common.sh"
7
+source"$(dirname "$0")/local-ci-00-common.sh"
8
load_token
8
load_token
9
9
10
-[ -f "${assets_dir}/SHA256SUMS"]||{echo"❌ no ${assets_dir}/SHA256SUMS: run local-ci-2-build.sh";exit 2;}
10
+[ -f "${assets_dir}/SHA256SUMS"]||{echo"❌ no ${assets_dir}/SHA256SUMS: run local-ci-02-build.sh";exit 2;}
11
id="$(release_field id)"
11
id="$(release_field id)"
12
-[ -n "${id}"]||{echo"❌ no release ${TAG}: run local-ci-3-create-draft.sh";exit 1;}
12
+[ -n "${id}"]||{echo"❌ no release ${TAG}: run local-ci-03-create-draft.sh";exit 1;}
13
["$(release_field draft)"="true"]||{echo"❌ ${TAG} is already public";exit 1;}
13
["$(release_field draft)"="true"]||{echo"❌ ${TAG} is already public";exit 1;}
14
14
15
echo"/releases/latest is now: $(latest_location)"
15
echo"/releases/latest is now: $(latest_location)"
renamedlocal-ci-09-remove-test-release.sh+4-4
similarity index 70%
rename from local-ci-9-remove-test-release.sh
rename to local-ci-09-remove-test-release.sh
@@ -1,13 +1,13 @@
1
1
#!/usr/bin/env bash
2
-# local-ci-9-remove-test-release.sh — delete a test release, for v9.9.9 and
2
+# local-ci-09-remove-test-release.sh — delete a test release, for v9.9.9 and
3
3
# demo-* only: this must never reach a real one.
4
4
#
5
-# ./local-ci-9-remove-test-release.sh # the TAG of .release.env
6
-# ./local-ci-9-remove-test-release.sh demo-002
5
+# ./local-ci-09-remove-test-release.sh # the TAG of .release.env
6
+# ./local-ci-09-remove-test-release.sh demo-002
7
7
#
8
8
# The tag stays: Rickub refuses to delete one by push, and the API has no route
9
9
# for it. Delete it from the repository's Tags page.
10
-source"$(dirname "$0")/local-ci-0-common.sh"
10
+source"$(dirname "$0")/local-ci-00-common.sh"
11
11
load_token
12
12
13
13
TAG="${1:-${TAG}}"
similarity index 70%
rename from local-ci-9-remove-test-release.sh
rename to local-ci-09-remove-test-release.sh
@@ -1,13 +1,13 @@
1
#!/usr/bin/env bash
1
#!/usr/bin/env bash
2
-# local-ci-9-remove-test-release.sh — delete a test release, for v9.9.9 and
2
+# local-ci-09-remove-test-release.sh — delete a test release, for v9.9.9 and
3
# demo-* only: this must never reach a real one.
3
# demo-* only: this must never reach a real one.
4
#
4
#
5
-# ./local-ci-9-remove-test-release.sh # the TAG of .release.env
5
+# ./local-ci-09-remove-test-release.sh # the TAG of .release.env
6
-# ./local-ci-9-remove-test-release.sh demo-002
6
+# ./local-ci-09-remove-test-release.sh demo-002
7
#
7
#
8
# The tag stays: Rickub refuses to delete one by push, and the API has no route
8
# The tag stays: Rickub refuses to delete one by push, and the API has no route
9
# for it. Delete it from the repository's Tags page.
9
# for it. Delete it from the repository's Tags page.
10
-source"$(dirname "$0")/local-ci-0-common.sh"
10
+source"$(dirname "$0")/local-ci-00-common.sh"
11
load_token
11
load_token
12
12
13
TAG="${1:-${TAG}}"
13
TAG="${1:-${TAG}}"
addedrelease-notes/v9.9.9.en.md+7-0
new file mode 100644
@@ -0,0 +1,7 @@
1
+# mini-me v9.9.9
2
+
3
+*[Version française](v9.9.9.fr.md)*
4
+
5
+**A test release, not a real version.** It checks the local release pipeline (`local-ci-*.sh`): binaries built on a local machine, uploaded through a temporary branch, published as a prerelease. It will be deleted once the test is over.
6
+
7
+Do not install it: use the latest real release from the [releases page](https://rickub.com/bots-garden/mini-me/releases).
new file mode 100644
@@ -0,0 +1,7 @@
1
+# mini-me v9.9.9
2
+
3
+*[Version française](v9.9.9.fr.md)*
4
+
5
+**A test release, not a real version.** It checks the local release pipeline (`local-ci-*.sh`): binaries built on a local machine, uploaded through a temporary branch, published as a prerelease. It will be deleted once the test is over.
6
+
7
+Do not install it: use the latest real release from the [releases page](https://rickub.com/bots-garden/mini-me/releases).
addedrelease-notes/v9.9.9.fr.md+7-0
new file mode 100644
@@ -0,0 +1,7 @@
1
+# mini-me v9.9.9
2
+
3
+*[English version](v9.9.9.en.md)*
4
+
5
+**Une release de test, pas une vraie version.** Elle vérifie la chaîne de publication locale (`local-ci-*.sh`) : binaires construits sur une machine locale, envoyés par une branche temporaire, publiés en prerelease. Elle sera supprimée à la fin du test.
6
+
7
+Ne l'installez pas : utilisez la dernière vraie release depuis la [page des releases](https://rickub.com/bots-garden/mini-me/releases).
new file mode 100644
@@ -0,0 +1,7 @@
1
+# mini-me v9.9.9
2
+
3
+*[English version](v9.9.9.en.md)*
4
+
5
+**Une release de test, pas une vraie version.** Elle vérifie la chaîne de publication locale (`local-ci-*.sh`) : binaires construits sur une machine locale, envoyés par une branche temporaire, publiés en prerelease. Elle sera supprimée à la fin du test.
6
+
7
+Ne l'installez pas : utilisez la dernière vraie release depuis la [page des releases](https://rickub.com/bots-garden/mini-me/releases).
One first-party cookie so a repeat visit isn't counted twice. No cross-site tracking, nothing stored until you accept. Cookie Policy.