You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sed -i'' -e "s/\"version\": \".*\"/\"version\": \"${DEV_VERSION}\"/" aws-distro-opentelemetry-node-autoinstrumentation/package.json
110
110
sed -i'' -e "s/\"version\": \".*\"/\"version\": \"${DEV_VERSION}\"/" docker-utils/package.json
111
111
sed -i'' -e "s/\"version\": \".*\"/\"version\": \"${DEV_VERSION}\"/" package.json
112
112
sed -i'' -e "s/aws-aws-distro-opentelemetry-node-autoinstrumentation-[0-9]\+\.[0-9]\+\.[0-9]\+\([0-9A-Za-z-]\+\)\?\.tgz/aws-aws-distro-opentelemetry-node-autoinstrumentation-${DEV_VERSION}.tgz/" lambda-layer/packages/layer/package.json
113
-
VERSION="${{ github.event.inputs.version }}"
113
+
VERSION="${{ env.VERSION }}"
114
114
npm install
115
-
sed -i "s|\(/aws-observability/adot-autoinstrumentation-node:\)v[0-9]\+\.[0-9]\+\.[0-9]\+|\1v${{github.event.inputs.version}}|g" .github/workflows/daily-scan.yml
115
+
sed -i "s|\(/aws-observability/adot-autoinstrumentation-node:\)v[0-9]\+\.[0-9]\+\.[0-9]\+|\1v${{ env.VERSION }}|g" .github/workflows/daily-scan.yml
116
116
117
117
# for patch releases, avoid merge conflict by manually resolving CHANGELOG with main
118
-
if [[ "${{ github.event.inputs.is_patch }}" == "true" ]]; then
118
+
if [[ "${{ env.IS_PATCH }}" == "true" ]]; then
119
119
# Copy the patch release entries
120
120
sed -n "/^## v${VERSION}/,/^## v[0-9]/p" CHANGELOG.md | sed '$d' > /tmp/patch_release_section.txt
gh pr create --title "Post release $VERSION: Update version to $DEV_VERSION" \
138
138
--body "This PR prepares the main branch for the next development cycle by updating the version to $DEV_VERSION and updating the image version to be scanned to the latest released.
139
139
@@ -151,4 +151,4 @@ jobs:
151
151
if ! git diff --quiet --cached; then
152
152
git commit -m "Force our CHANGELOG to override merge conflicts"
0 commit comments