Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions .github/workflows/gleam-bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion examples/kitazith_example/manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion gleam.toml
Original file line number Diff line number Diff line change
@@ -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.
Expand Down