diff --git a/.gitlab/prepare-oci-package.sh b/.gitlab/prepare-oci-package.sh index c616c3e1f97..7c5a8fc3eb6 100755 --- a/.gitlab/prepare-oci-package.sh +++ b/.gitlab/prepare-oci-package.sh @@ -8,9 +8,11 @@ cp ../lib-injection/host_inject.rb sources # Kubernetes injection expects a different path cp sources/host_inject.rb sources/auto_inject.rb -sed -i "s#PATH_PLACEHOLDER#/opt/datadog-packages/datadog-apm-library-ruby/${RUBY_PACKAGE_VERSION}#g" sources/host_inject.rb -sed -i "s#PATH_PLACEHOLDER#/datadog-lib#g" sources/auto_inject.rb - cp -r ../tmp/${ARCH}/* sources cp ../tmp/version.txt sources/version + +RUBY_PACKAGE_VERSION=$(