From f9881caa1c68a414ee20c099983f6d6666ac83bd Mon Sep 17 00:00:00 2001 From: Prashant Srivastava <50466688+srprash@users.noreply.github.com> Date: Mon, 15 Apr 2024 11:50:00 -0700 Subject: [PATCH] Update post_release_version_bump.yml (#161) *Issue #, if available:* https://github.com/aws-observability/aws-otel-python-instrumentation/actions/runs/8694316560/job/23842949812 *Description of changes:* By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice. --- .github/workflows/post_release_version_bump.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/post_release_version_bump.yml b/.github/workflows/post_release_version_bump.yml index 98d1687..1a02e0b 100644 --- a/.github/workflows/post_release_version_bump.yml +++ b/.github/workflows/post_release_version_bump.yml @@ -80,9 +80,9 @@ jobs: DEV_VERSION="${{ github.event.inputs.version }}.dev0" sed -i 's/__version__ = ".*"/__version__ = "'$DEV_VERSION'"/' aws-opentelemetry-distro/src/amazon/opentelemetry/distro/version.py VERSION="${{ github.event.inputs.version }}" - sed -i 's/python:v.*"/python:v'$VERSION'"/' .github/workflows/released_image_scan.yml + sed -i 's/python:v.*"/python:v'$VERSION'"/' .github/workflows/daily_scan.yml git add aws-opentelemetry-distro/src/amazon/opentelemetry/distro/version.py - git add .github/workflows/released_image_scan.yml + git add .github/workflows/daily_scan.yml git commit -m "Prepare main for next development cycle: Update version to $DEV_VERSION" git push --set-upstream origin "prepare-main-for-next-dev-cycle-${VERSION}"