diff --git a/.github/workflows/pre_release_prepare.yml b/.github/workflows/pre_release_prepare.yml index 436fe4d..fb82577 100644 --- a/.github/workflows/pre_release_prepare.yml +++ b/.github/workflows/pre_release_prepare.yml @@ -40,7 +40,7 @@ jobs: - name: Update version in file run: | - sed -i 's/__version__ = ".*"/__version__ = "${VERSION}"/' aws-opentelemetry-distro/src/amazon/opentelemetry/distro/version.py + sed -i "s/__version__ = ".*"/__version__ = "${VERSION}"/" aws-opentelemetry-distro/src/amazon/opentelemetry/distro/version.py git commit -am "Update version to ${VERSION}" git push origin "${VERSION}_release"