Skip to content

Commit

Permalink
MINOR update on pre and post release
Browse files Browse the repository at this point in the history
  • Loading branch information
XinRanZhAWS committed Mar 21, 2024
1 parent f85298a commit 3f52094
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/post_release_version_bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Update version to next development version in main
run: |
DEV_VERSION="${{ github.event.inputs.version }}.dev0"
sed -i "s/__version__ = ".*"/__version__ = "'$DEV_VERSION'"/" aws-opentelemetry-distro/src/amazon/opentelemetry/distro/version.py
sed -i 's/__version__ = ".*"/__version__ = "'$DEV_VERSION'"/' aws-opentelemetry-distro/src/amazon/opentelemetry/distro/version.py
git add aws-opentelemetry-distro/src/amazon/opentelemetry/distro/version.py
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}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre_release_prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3f52094

Please sign in to comment.