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
Copy file name to clipboardexpand all lines: .github/scripts/setReleasedGrailsVersion.sh
+1-1
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
set -e
4
4
5
-
echo"Updating Grails Tests to Grails Version${RELEASE_VERSION}"
5
+
echo"Setting new version in GrailsUtilsTests.java:${RELEASE_VERSION}"
6
6
sed -i "s/assertEquals(\".*$/assertEquals(\"${RELEASE_VERSION}\", GrailsUtil.getGrailsVersion());/""${GITHUB_WORKSPACE}/grails-core/src/test/groovy/grails/util/GrailsUtilTests.java"
7
7
sed -n "/assertEquals(\".*/p""${GITHUB_WORKSPACE}/grails-core/src/test/groovy/grails/util/GrailsUtilTests.java"
Copy file name to clipboardexpand all lines: .github/scripts/setSnapshotGrailsVersion.sh
+1-1
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
set -e
4
4
5
-
echo"Setting new Grails snapshot version"
5
+
echo"Setting new version in GrailsUtilsTests.java: ${NEXT_VERSION}-SNAPSHOT"
6
6
sed -i "s/assertEquals(\".*$/assertEquals(\"${NEXT_VERSION}-SNAPSHOT\", GrailsUtil.getGrailsVersion());/""${GITHUB_WORKSPACE}/grails-core/src/test/groovy/grails/util/GrailsUtilTests.java"
7
7
sed -n "/assertEquals(\".*/p""${GITHUB_WORKSPACE}/grails-core/src/test/groovy/grails/util/GrailsUtilTests.java"
- name: "📤 Upload artifacts to the Github release"
463
-
if: success()
464
461
id: upload_artifact
465
462
uses: Roang-zero1/github-upload-release-artifacts-action@c15e0b65ce2ae1c8d52bfbc75d017d21e1da77d7 # v3.0.0 (Use commit sha as this is a 3rd party action)
0 commit comments