diff --git a/.github/workflows/scripts/check-collector-module-version.sh b/.github/workflows/scripts/check-collector-module-version.sh index eba185a25377..8a00271161d4 100755 --- a/.github/workflows/scripts/check-collector-module-version.sh +++ b/.github/workflows/scripts/check-collector-module-version.sh @@ -57,20 +57,12 @@ for mod in ${beta_modules[@]}; do check_collector_versions_correct "$mod" "$BETA_MOD_VERSION" done -# Check RC modules -RC_MODULE="go.opentelemetry.io/collector/pdata" -RC_MOD_VERSION=$(get_collector_version "$RC_MODULE " "$MAIN_MOD_FILE") -check_collector_versions_correct "$RC_MODULE" "$RC_MOD_VERSION" -for mod in ${rc_modules[@]}; do - check_collector_versions_correct "$mod" "$RC_MOD_VERSION" -done - # Check stable modules, none currently exist, uncomment when pdata is 1.0.0 -# STABLE_MODULE="go.opentelemetry.io/collector/pdata " -# STABLE_MOD_VERSION=$(get_collector_version "$STABLE_MODULE" "$MAIN_MOD_FILE") -# check_collector_versions_correct "$STABLE_MODULE" "$STABLE_MOD_VERSION" -# for mod in ${stable_modules[@]}; do -# check_collector_versions_correct "$mod" "$STABLE_MOD_VERSION" -# done +STABLE_MODULE="go.opentelemetry.io/collector/pdata" +STABLE_MOD_VERSION=$(get_collector_version "$STABLE_MODULE" "$MAIN_MOD_FILE") +check_collector_versions_correct "$STABLE_MODULE" "$STABLE_MOD_VERSION" +for mod in ${stable_modules[@]}; do + check_collector_versions_correct "$mod" "$STABLE_MOD_VERSION" +done git diff --exit-code diff --git a/internal/buildscripts/modules b/internal/buildscripts/modules index 7367f7a44f8d..6926331503e0 100644 --- a/internal/buildscripts/modules +++ b/internal/buildscripts/modules @@ -34,10 +34,7 @@ beta_modules=( "go.opentelemetry.io/collector/semconv" ) -rc_modules=( +stable_modules=( "go.opentelemetry.io/collector/featuregate" "go.opentelemetry.io/collector/pdata" ) - -# No stable modules currently exist, add pdata here once 1.0.0 -stable_modules=()