Skip to content

Commit dd57e90

Browse files
Replace . with -
1 parent 07ad2b6 commit dd57e90

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/post-release-version-bump.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
9797
- name: Update version to next development version in main
9898
run: |
99-
DEV_VERSION="${{ github.event.inputs.version }}.SNAPSHOT"
99+
DEV_VERSION="${{ github.event.inputs.version }}-SNAPSHOT"
100100
sed -i'' -e "s/val adotVersion = \".*\"/val adotVersion = \"${DEV_VERSION}\"/" version.gradle.kts
101101
VERSION="${{ github.event.inputs.version }}"
102102
sed -i'' -e 's/adot-autoinstrumentation-java:v2.*"/adot-autoinstrumentation-java:v'$VERSION'"/' .github/workflows/daily-scan.yml
@@ -109,12 +109,12 @@ jobs:
109109
env:
110110
GITHUB_TOKEN: ${{ env.BOT_TOKEN_GITHUB_RW_PATOKEN }}
111111
run: |
112-
DEV_VERSION="${{ github.event.inputs.version }}.SNAPSHOT"
112+
DEV_VERSION="${{ github.event.inputs.version }}-SNAPSHOT"
113113
gh pr create --title "Post release $VERSION: Update version to $DEV_VERSION" \
114114
--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.
115115
116116
This PR should only be merge when release for version v$VERSION is success.
117117
118118
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice." \
119119
--head prepare-main-for-next-dev-cycle-${VERSION} \
120-
--base main
120+
--base main

0 commit comments

Comments
 (0)