Skip to content

Commit 1a1f41b

Browse files
johnhaley81claude
andcommitted
Fix opam publishing issues
- Add missing dev-repo field pointing to reazen/relude - Remove pin-depends (not allowed in opam-repository) - Add --no-browser flag to prevent browser opening error Fixes opam CI issues: https://opam.ci.ocaml.org/github/ocaml/opam-repository/commit/9ad717000ce72b48bddaa3bcb81ef11f5cf2986f 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 3d7db74 commit 1a1f41b

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ jobs:
136136
echo -n "$OPAM_PUBLISH_TOKEN" > ~/.opam/plugins/opam-publish/github-actions.token
137137
# Configure opam-publish to use HTTPS instead of SSH
138138
git config --global url."https://github.com/".insteadOf "[email protected]:"
139-
opam publish --no-confirmation --tag=${{ github.ref_name }} .
139+
opam publish --no-confirmation --no-browser --tag=${{ github.ref_name }} .
140140
echo "✅ Successfully published relude v${{ github.ref_name }} to opam"
141141
else
142142
echo "⚠️ OPAM_PUBLISH_TOKEN not found in secrets"

relude.opam

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ tags: ["ReasonML" "Melange" "functional programming" "prelude" "standard library
2020
homepage: "https://github.com/reazen/relude"
2121
doc: "https://reazen.github.io/relude"
2222
bug-reports: "https://github.com/reazen/relude/issues"
23+
dev-repo: "git+https://github.com/reazen/relude.git"
2324
depends: [
2425
"ocaml" {>= "5.3.0"}
2526
"dune" {>= "3.12"}
@@ -45,6 +46,3 @@ build: [
4546
"@doc" {with-doc}
4647
]
4748
]
48-
pin-depends: [
49-
[ "mel-bastet.dev" "git+https://github.com/johnhaley81/mel-bastet.git" ]
50-
]

0 commit comments

Comments
 (0)