快车道:"Could not find release for version code to update changelog"
Fastlane: "Could not find release for version code to update changelog"
我正在尝试使用 Fastlane 构建 Android 构建并将其发布到 PlayStore,但是当我 运行 通道时,输出是:
Could not find release for version code '6' to update changelog
我的快速文件:
default_platform(:android)
platform :android do
lane :release do
gradle(
task: "bundle",
build_type: "Release",
)
upload_to_play_store(
track: "internal",
skip_upload_changelogs: true,
skip_upload_apk: true,
version_name: "2.0.0",
version_code: 6,
)
end
end
对于那些也在使用 Flutter 并面临同样问题的用户,请指定您的 apk
或 app bundle
文件路径。
就我而言,设置:aab: "../build/app/outputs/bundle/release/app-release.aab"
解决了问题
我正在尝试使用 Fastlane 构建 Android 构建并将其发布到 PlayStore,但是当我 运行 通道时,输出是:
Could not find release for version code '6' to update changelog
我的快速文件:
default_platform(:android)
platform :android do
lane :release do
gradle(
task: "bundle",
build_type: "Release",
)
upload_to_play_store(
track: "internal",
skip_upload_changelogs: true,
skip_upload_apk: true,
version_name: "2.0.0",
version_code: 6,
)
end
end
对于那些也在使用 Flutter 并面临同样问题的用户,请指定您的 apk
或 app bundle
文件路径。
就我而言,设置:aab: "../build/app/outputs/bundle/release/app-release.aab"
解决了问题