From c29676f55c9161a59fe35eb0a8b9f46b40a800be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9F=B3=E3=A6=A1?= <215371699+0ngk@users.noreply.github.com> Date: Sun, 12 Apr 2026 02:50:38 +0900 Subject: [PATCH 1/3] fix(ci): load hex api key from release environment --- .github/workflows/gleam-bootstrap.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gleam-bootstrap.yml b/.github/workflows/gleam-bootstrap.yml index f5f74f6..eb70fb7 100644 --- a/.github/workflows/gleam-bootstrap.yml +++ b/.github/workflows/gleam-bootstrap.yml @@ -86,7 +86,8 @@ jobs: publish: if: ${{ inputs.run-publish || inputs.run-github-release }} - runs-on: ubuntu-24.04 + runs-on: ubuntu-latest + environment: release steps: - name: Checkout @@ -111,7 +112,17 @@ jobs: if: ${{ inputs.run-publish }} env: HEXPM_API_KEY: ${{ secrets.hexpm_api_key }} - run: printf 'I am not using semantic versioning\n' | gleam publish --yes + shell: bash + run: | + set -euo pipefail + + if [[ -z "${HEXPM_API_KEY:-}" ]]; then + echo "HEXPM_API_KEY secret is not configured." >&2 + echo "Set the repository secret HEXPM_API_KEY to a valid Hex API key before publishing." >&2 + exit 1 + fi + + printf 'I am not using semantic versioning\n' | gleam publish --yes - name: Create a GitHub release if: ${{ inputs.run-github-release }} From f81f74c1528e7a42ce47baea0f78629c5ad679fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9F=B3=E3=A6=A1?= <215371699+0ngk@users.noreply.github.com> Date: Sun, 12 Apr 2026 02:52:21 +0900 Subject: [PATCH 2/3] chore(examples): bump to kitazith v0.1.3 --- examples/kitazith_example/manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/kitazith_example/manifest.toml b/examples/kitazith_example/manifest.toml index e461502..bc4b1e0 100644 --- a/examples/kitazith_example/manifest.toml +++ b/examples/kitazith_example/manifest.toml @@ -9,7 +9,7 @@ packages = [ { name = "gleam_stdlib", version = "0.71.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "702F3BC2A14793906880B1078B19A6165F87323AEE8D0C4A34085846336FCAAE" }, { name = "gleam_time", version = "1.8.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_time", source = "hex", outer_checksum = "533D8723774D61AD4998324F5DD1DABDCDBFABAFB9E87CB5D03C6955448FC97D" }, { name = "gleeunit", version = "1.9.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleeunit", source = "hex", outer_checksum = "DA9553CE58B67924B3C631F96FE3370C49EB6D6DC6B384EC4862CC4AAA718F3C" }, - { name = "kitazith", version = "0.1.2", build_tools = ["gleam"], requirements = ["gleam_json", "gleam_stdlib", "gleam_time"], source = "local", path = "../.." }, + { name = "kitazith", version = "0.1.3", build_tools = ["gleam"], requirements = ["gleam_json", "gleam_stdlib", "gleam_time"], source = "local", path = "../.." }, ] [requirements] From 1197cad1955aae30789b3c1938bd79ebaa94d57b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9F=B3=E3=A6=A1?= <215371699+0ngk@users.noreply.github.com> Date: Sun, 12 Apr 2026 02:56:21 +0900 Subject: [PATCH 3/3] chore(gleam.toml): bump to v0.1.3 --- gleam.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gleam.toml b/gleam.toml index 3535fba..e9e0379 100644 --- a/gleam.toml +++ b/gleam.toml @@ -1,5 +1,5 @@ name = "kitazith" -version = "0.1.2" +version = "0.1.3" # Fill out these fields if you intend to generate HTML documentation or publish # your project to the Hex package manager.