Skip to content

Commit

Permalink
chore: do not store sourcemaps, always include openapi info.version a…
Browse files Browse the repository at this point in the history
…s a tag (#1107)
  • Loading branch information
ThomasRooney authored Nov 24, 2024
1 parent 990524b commit a6366d3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ require (
github.com/speakeasy-api/openapi-overlay v0.9.0
github.com/speakeasy-api/sdk-gen-config v1.28.0
github.com/speakeasy-api/speakeasy-client-sdk-go/v3 v3.15.6
github.com/speakeasy-api/speakeasy-core v0.16.2
github.com/speakeasy-api/speakeasy-core v0.17.0
github.com/speakeasy-api/speakeasy-proxy v0.0.2
github.com/spf13/cobra v1.8.1
github.com/spf13/pflag v1.0.5
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -513,8 +513,8 @@ github.com/speakeasy-api/sdk-gen-config v1.28.0 h1:Gm3WqJCxs7ExEJcRVhMsUq2mC7S23
github.com/speakeasy-api/sdk-gen-config v1.28.0/go.mod h1:e9PjnCRHGa4K4EFKVU+kKmihOZjJ2V4utcU+274+bnQ=
github.com/speakeasy-api/speakeasy-client-sdk-go/v3 v3.15.6 h1:Z+4cE9tYJzS7It5r8nFEomk3x39xm0JKwjBFhEFqmrY=
github.com/speakeasy-api/speakeasy-client-sdk-go/v3 v3.15.6/go.mod h1:b4fiZ1Wid0JHwwiYqhaPifDwjmC15uiN7A8Cmid+9kw=
github.com/speakeasy-api/speakeasy-core v0.16.2 h1:rkiNmq1TBZPUUrK16loqmlkF//f2W5QBbfRJdAeZj7c=
github.com/speakeasy-api/speakeasy-core v0.16.2/go.mod h1:0U4gDvmCjWVzteXXPhdKcktzTwggyHBSU8EvBpgTA7I=
github.com/speakeasy-api/speakeasy-core v0.17.0 h1:D1XndpDX5nhS0RndAw5o2oqlgIkr0sTScUahmy6jjj8=
github.com/speakeasy-api/speakeasy-core v0.17.0/go.mod h1:0U4gDvmCjWVzteXXPhdKcktzTwggyHBSU8EvBpgTA7I=
github.com/speakeasy-api/speakeasy-go-sdk v1.8.1 h1:atzohw12oQ5ipaLb1q7ntTu4vvAgKDJsrvaUoOu6sw0=
github.com/speakeasy-api/speakeasy-go-sdk v1.8.1/go.mod h1:XbzaM0sMjj8bGooz/uEtNkOh1FQiJK7RFuNG3LPBSAU=
github.com/speakeasy-api/speakeasy-proxy v0.0.2 h1:u4rQ8lXvuYRCSxiLQGb5JxkZRwNIDlyh+pMFYD6OGjA=
Expand Down
2 changes: 2 additions & 0 deletions internal/run/sourceTracking.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ func (w *Workflow) snapshotSource(ctx context.Context, parentStep *workflowTrack
}
annotations.Revision = revision
annotations.BundleRoot = strings.TrimPrefix(rootDocumentPath, string(os.PathSeparator))
// Always add the openapi document version as a tag
tags = append(tags, annotations.Version)

err = pl.BuildOCIImage(ctx, bundler.NewReadWriteFS(memfs, memfs), &bundler.OCIBuildOptions{
Tags: tags,
Expand Down

0 comments on commit a6366d3

Please sign in to comment.