phrase-cli icon indicating copy to clipboard operation
phrase-cli copied to clipboard

failed to build 2.41.0 release

Open chenrui333 opened this issue 9 months ago • 0 comments

👋 have some build issue of building 2.41.0 release, the error is as below:

   # github.com/phrase/phrase-cli/cmd
  cmd/api_translations.go:427:29: undefined: api.TranslationUnreviewOpts
  cmd/api_translations.go:437:42: undefined: api.TranslationUnreviewParameters
  cmd/api_translations.go:448:54: client.TranslationsApi.TranslationUnreview undefined (type *phrase.TranslationsApiService has no field or method TranslationUnreview)
  cmd/api_translations.go:1312:29: undefined: api.TranslationsUnreviewCollectionOpts
  cmd/api_translations.go:1320:43: undefined: api.TranslationsUnreviewParameters
  cmd/api_translations.go:1331:54: client.TranslationsApi.TranslationsUnreviewCollection undefined (type *phrase.TranslationsApiService has no field or method TranslationsUnreviewCollection)
  cmd/api_uploads.go:134:23: localVarOptionals.VerifyMentionedTranslations undefined (type phrase.UploadCreateOpts has no field or method VerifyMentionedTranslations)

relates to https://github.com/Homebrew/homebrew-core/pull/223804 seeing the same in the CI, https://github.com/phrase/phrase-cli/actions/runs/15069105214/job/42360695875

chenrui333 avatar May 24 '25 02:05 chenrui333