Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug 1744504 - iOS: Skip code generation in indexbuild build #1889

Merged
merged 1 commit into from
Dec 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

* Rust
* BUGFIX: Correct category & name for `preinit_tasks_overflow` metric. Previously it would have been wrongly recorded as `preinit_tasks_overflow.glean.error` ([#1887](https://github.com/mozilla/glean/pull/1887))
* iOS
* Skip code generation in `indexbuild` build ([#1889](https://github.com/mozilla/glean/pull/1889))

# v42.2.0 (2021-11-03)

Expand Down
5 changes: 5 additions & 0 deletions glean-core/ios/sdk_generator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ while (( "$#" )); do
esac
done

if [ "$ACTION" = "indexbuild" ]; then
echo "Skipping code generation in 'indexbuild' build. See https://bugzilla.mozilla.org/show_bug.cgi?id=1744504 for more info."
exit 0
fi

if [ "${#PARAMS[@]}" -gt 0 ]; then
YAML_FILES=("${PARAMS[@]}")
else
Expand Down