From 4abb0e32161f7be6f5c414d59d0e58aca6b9be96 Mon Sep 17 00:00:00 2001 From: Leighton Chen Date: Tue, 12 Sep 2023 13:33:39 -0700 Subject: [PATCH] Modify eachdist and build script for container packages (#1949) --- eachdist.ini | 2 ++ .../src/opentelemetry/resource/detector/azure/version.py | 2 +- scripts/build.sh | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/eachdist.ini b/eachdist.ini index b9cb1e40fa..dacd4fc42f 100644 --- a/eachdist.ini +++ b/eachdist.ini @@ -43,9 +43,11 @@ packages= opentelemetry-instrumentation opentelemetry-contrib-instrumentations opentelemetry-distro + opentelemetry-resource-detector-container [exclude_release] packages= + opentelemetry-resource-detector-azure opentelemetry-sdk-extension-aws opentelemetry-propagator-aws-xray diff --git a/resource/opentelemetry-resource-detector-azure/src/opentelemetry/resource/detector/azure/version.py b/resource/opentelemetry-resource-detector-azure/src/opentelemetry/resource/detector/azure/version.py index c2996671d6..5fd301e2e6 100644 --- a/resource/opentelemetry-resource-detector-azure/src/opentelemetry/resource/detector/azure/version.py +++ b/resource/opentelemetry-resource-detector-azure/src/opentelemetry/resource/detector/azure/version.py @@ -12,4 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -__version__ = "0.42b0.dev" +__version__ = "0.1.0" diff --git a/scripts/build.sh b/scripts/build.sh index 56b350257a..dc3e237946 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -16,7 +16,7 @@ DISTDIR=dist mkdir -p $DISTDIR rm -rf $DISTDIR/* - for d in exporter/*/ opentelemetry-instrumentation/ opentelemetry-contrib-instrumentations/ opentelemetry-distro/ instrumentation/*/ propagator/*/ sdk-extension/*/ util/*/ ; do + for d in exporter/*/ opentelemetry-instrumentation/ opentelemetry-contrib-instrumentations/ opentelemetry-distro/ instrumentation/*/ propagator/*/ resource/*/ sdk-extension/*/ util/*/ ; do ( echo "building $d" cd "$d"