Skip to content

Commit e499679

Browse files
authored
Update release.yml
1 parent 290719d commit e499679

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ jobs:
5555
5656
- name: "Ensure current snapshot version matches release version"
5757
run: |
58-
grep -q "version = '${{ env.RELEASE_VERSION_WITHOUT_SUFFIX }}-SNAPSHOT'" build.gradle
58+
grep -q "version = '${{ env.RELEASE_VERSION_WITHOUT_SUFFIX }}-SNAPSHOT'" build.gradle.kts
5959
if [[ $? != 0 ]]; then
60-
echo '❌ Release failed: version in build.gradle is not a snapshot for release version ${{ inputs.version }}' >> $GITHUB_STEP_SUMMARY
60+
echo '❌ Release failed: version in build.gradle.kts is not a snapshot for release version ${{ inputs.version }}' >> $GITHUB_STEP_SUMMARY
6161
exit 1
6262
fi
6363
@@ -110,7 +110,7 @@ jobs:
110110
git push origin ${{ github.ref_name }}
111111
git checkout ${{ env.RELEASE_BRANCH }}
112112
113-
# This step bumps version numbers in build.gradle and creates git artifacts for the release
113+
# This step bumps version numbers in build.gradle.kts and creates git artifacts for the release
114114
- name: "Bump version numbers and create release tag"
115115
run: .github/workflows/bump-and-tag.sh "${{ env.RELEASE_VERSION_WITHOUT_SUFFIX }}" "${{ env.RELEASE_VERSION }}" "${{ env.NEXT_VERSION }}"
116116

0 commit comments

Comments
 (0)