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 "s/public static string version = \".*\";/public static string version = \"${DEV_VERSION}\";/" src/AWS.Distro.OpenTelemetry.AutoInstrumentation/Version.cs
104
106
sed -i "s/private readonly string version = \".*\";/private readonly string version = \"${DEV_VERSION}\";/" build/Build.InstallationScripts.cs
105
-
VERSION="${{ github.event.inputs.version }}"
107
+
VERSION="${{ env.VERSION_INPUT }}"
106
108
sed -i -e 's/dotnet:v.*"/dotnet:v'$VERSION'"/' .github/workflows/daily-scan.yml
107
109
108
110
# for patch releases, avoid merge conflict by manually resolving CHANGELOG with main
109
-
if [[ "${{ github.event.inputs.is_patch }}" == "true" ]]; then
111
+
if [[ "${{ env.IS_PATCH_INPUT }}" == "true" ]]; then
110
112
# Copy the patch release entries
111
113
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" \
131
133
--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.
0 commit comments