File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 - ' stl-preview-base/**'
1616
1717env :
18- GOPRIVATE : github.com/context-dot-dev/context-go-sdk,github.com/stainless-sdks/context.dev-go
18+ GOPRIVATE : github.com/context-dot-dev/context-go-sdk/v2 ,github.com/stainless-sdks/context.dev-go/v2
1919
2020jobs :
2121 lint :
3434 - name : Link staging branch
3535 if : github.repository == 'stainless-sdks/context.dev-cli'
3636 run : |
37- ./scripts/link 'github.com/stainless-sdks/context.dev-go@${{ github.ref_name }}' || true
37+ ./scripts/link 'github.com/stainless-sdks/context.dev-go/v2 @${{ github.ref_name }}' || true
3838
3939 - name : Bootstrap
4040 run : ./scripts/bootstrap
6060 - name : Link staging branch
6161 if : github.repository == 'stainless-sdks/context.dev-cli'
6262 run : |
63- ./scripts/link 'github.com/stainless-sdks/context.dev-go@${{ github.ref_name }}' || true
63+ ./scripts/link 'github.com/stainless-sdks/context.dev-go/v2 @${{ github.ref_name }}' || true
6464
6565 - name : Bootstrap
6666 run : ./scripts/bootstrap
@@ -107,7 +107,7 @@ jobs:
107107 - name : Link staging branch
108108 if : github.repository == 'stainless-sdks/context.dev-cli'
109109 run : |
110- ./scripts/link 'github.com/stainless-sdks/context.dev-go@${{ github.ref_name }}' || true
110+ ./scripts/link 'github.com/stainless-sdks/context.dev-go/v2 @${{ github.ref_name }}' || true
111111
112112 - name : Bootstrap
113113 run : ./scripts/bootstrap
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import (
1111 "slices"
1212
1313 "github.com/context-dot-dev/context-dev-cli/pkg/cmd"
14- "github.com/context-dot-dev/context-go-sdk"
14+ "github.com/context-dot-dev/context-go-sdk/v2 "
1515 "github.com/tidwall/gjson"
1616 "github.com/urfave/cli/v3"
1717)
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ require (
77 github.com/charmbracelet/bubbletea v1.3.6
88 github.com/charmbracelet/lipgloss v1.1.0
99 github.com/charmbracelet/x/term v0.2.1
10- github.com/context-dot-dev/context-go-sdk v1.5 .0
10+ github.com/context-dot-dev/context-go-sdk/v2 v2.0 .0
1111 github.com/goccy/go-yaml v1.18.0
1212 github.com/itchyny/json2yaml v0.1.4
1313 github.com/muesli/reflow v0.3.0
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ github.com/charmbracelet/x/exp/golden v0.0.0-20241011142426-46044092ad91 h1:payR
1818github.com/charmbracelet/x/exp/golden v0.0.0-20241011142426-46044092ad91 /go.mod h1:wDlXFlCrmJ8J+swcL/MnGUuYnqgQdW9rhSD61oNMb6U =
1919github.com/charmbracelet/x/term v0.2.1 h1:AQeHeLZ1OqSXhrAWpYUtZyX1T3zVxfpZuEQMIQaGIAQ =
2020github.com/charmbracelet/x/term v0.2.1 /go.mod h1:oQ4enTYFV7QN4m0i9mzHrViD7TQKvNEEkHUMCmsxdUg =
21- github.com/context-dot-dev/context-go-sdk v1.5 .0 h1:9c726cgqHfD+6AzoBXvQDYFGL8GysVViEGfHwuR1w4A =
22- github.com/context-dot-dev/context-go-sdk v1.5 .0/go.mod h1:YwbwUXSpQRB5LdVmgyIyZhIgKyulaeQmVWxylI4KE54 =
21+ github.com/context-dot-dev/context-go-sdk/v2 v2.0 .0 h1:3ENF1kNV5f5eoP+wB2K00nZAzRXW4ytPvP3NPVQSFSs =
22+ github.com/context-dot-dev/context-go-sdk/v2 v2.0 .0/go.mod h1:CvRANWLP0FHj5XyUwzEVX79ujdwr/2Jy375UVzKNQm8 =
2323github.com/cpuguy83/go-md2man/v2 v2.0.2 h1:p1EgwI/C7NhT0JmVkwCD2ZBK8j4aeHQX2pMHHBfMQ6w =
2424github.com/cpuguy83/go-md2man/v2 v2.0.2 /go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o =
2525github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c =
Original file line number Diff line number Diff line change 88
99 "github.com/context-dot-dev/context-dev-cli/internal/apiquery"
1010 "github.com/context-dot-dev/context-dev-cli/internal/requestflag"
11- "github.com/context-dot-dev/context-go-sdk"
12- "github.com/context-dot-dev/context-go-sdk/option"
11+ "github.com/context-dot-dev/context-go-sdk/v2 "
12+ "github.com/context-dot-dev/context-go-sdk/v2/ option"
1313 "github.com/tidwall/gjson"
1414 "github.com/urfave/cli/v3"
1515)
Original file line number Diff line number Diff line change 88
99 "github.com/context-dot-dev/context-dev-cli/internal/apiquery"
1010 "github.com/context-dot-dev/context-dev-cli/internal/requestflag"
11- "github.com/context-dot-dev/context-go-sdk"
12- "github.com/context-dot-dev/context-go-sdk/option"
11+ "github.com/context-dot-dev/context-go-sdk/v2 "
12+ "github.com/context-dot-dev/context-go-sdk/v2/ option"
1313 "github.com/tidwall/gjson"
1414 "github.com/urfave/cli/v3"
1515)
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import (
1717 "syscall"
1818
1919 "github.com/context-dot-dev/context-dev-cli/internal/jsonview"
20- "github.com/context-dot-dev/context-go-sdk/option"
20+ "github.com/context-dot-dev/context-go-sdk/v2/ option"
2121
2222 "github.com/charmbracelet/x/term"
2323 "github.com/itchyny/json2yaml"
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import (
2020 "github.com/context-dot-dev/context-dev-cli/internal/apiquery"
2121 "github.com/context-dot-dev/context-dev-cli/internal/debugmiddleware"
2222 "github.com/context-dot-dev/context-dev-cli/internal/requestflag"
23- "github.com/context-dot-dev/context-go-sdk/option"
23+ "github.com/context-dot-dev/context-go-sdk/v2/ option"
2424
2525 "github.com/goccy/go-yaml"
2626 "github.com/urfave/cli/v3"
Original file line number Diff line number Diff line change 88
99 "github.com/context-dot-dev/context-dev-cli/internal/apiquery"
1010 "github.com/context-dot-dev/context-dev-cli/internal/requestflag"
11- "github.com/context-dot-dev/context-go-sdk"
12- "github.com/context-dot-dev/context-go-sdk/option"
11+ "github.com/context-dot-dev/context-go-sdk/v2 "
12+ "github.com/context-dot-dev/context-go-sdk/v2/ option"
1313 "github.com/tidwall/gjson"
1414 "github.com/urfave/cli/v3"
1515)
Original file line number Diff line number Diff line change 88
99 "github.com/context-dot-dev/context-dev-cli/internal/apiquery"
1010 "github.com/context-dot-dev/context-dev-cli/internal/requestflag"
11- "github.com/context-dot-dev/context-go-sdk"
12- "github.com/context-dot-dev/context-go-sdk/option"
11+ "github.com/context-dot-dev/context-go-sdk/v2 "
12+ "github.com/context-dot-dev/context-go-sdk/v2/ option"
1313 "github.com/tidwall/gjson"
1414 "github.com/urfave/cli/v3"
1515)
You can’t perform that action at this time.
0 commit comments