diff --git a/.github/workflows/gleam-bootstrap.yml b/.github/workflows/gleam-bootstrap.yml index a24a151..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: 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 }} diff --git a/examples/kitazith_example/manifest.toml b/examples/kitazith_example/manifest.toml index 413a1ae..bc4b1e0 100644 --- a/examples/kitazith_example/manifest.toml +++ b/examples/kitazith_example/manifest.toml @@ -6,10 +6,10 @@ packages = [ { name = "gleam_http", version = "4.3.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_http", source = "hex", outer_checksum = "82EA6A717C842456188C190AFB372665EA56CE13D8559BF3B1DD9E40F619EE0C" }, { name = "gleam_httpc", version = "5.0.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_http", "gleam_stdlib"], otp_app = "gleam_httpc", source = "hex", outer_checksum = "C545172618D07811494E97AAA4A0FB34DA6F6D0061FDC8041C2F8E3BE2B2E48F" }, { name = "gleam_json", version = "3.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_json", source = "hex", outer_checksum = "44FDAA8847BE8FC48CA7A1C089706BD54BADCC4C45B237A992EDDF9F2CDB2836" }, - { name = "gleam_stdlib", version = "0.70.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "86949BF5D1F0E4AC0AB5B06F235D8A5CC11A2DFC33BF22F752156ED61CA7D0FF" }, - { name = "gleam_time", version = "1.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_time", source = "hex", outer_checksum = "56DB0EF9433826D3B99DB0B4AF7A2BFED13D09755EC64B1DAAB46F804A9AD47D" }, + { 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.0", 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] diff --git a/gleam.toml b/gleam.toml index c340c4a..e9e0379 100644 --- a/gleam.toml +++ b/gleam.toml @@ -1,5 +1,5 @@ name = "kitazith" -version = "0.1.0" +version = "0.1.3" # Fill out these fields if you intend to generate HTML documentation or publish # your project to the Hex package manager.