File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ jobs:
100
100
- name : " 📤 Publish Snapshot Artifacts"
101
101
id : publish
102
102
env :
103
- GRADLE_PUBLISH_RELEASE : ' false'
103
+ GRAILS_PUBLISH_RELEASE : ' false'
104
104
MAVEN_PUBLISH_URL : ${{ secrets.GRAILS_NEXUS_PUBLISH_SNAPSHOT_URL }}
105
105
MAVEN_PUBLISH_USERNAME : ${{ secrets.NEXUS_USER }}
106
106
MAVEN_PUBLISH_PASSWORD : ${{ secrets.NEXUS_PW }}
Original file line number Diff line number Diff line change @@ -8,5 +8,5 @@ extensions.configure(GrailsPublishExtension) {
8
8
it. title = findProperty(' pomTitle' ) ?: ' Grails® framework'
9
9
it. desc = findProperty(' pomDescription' ) ?: ' Grails Web Application Framework'
10
10
it. developers = findProperty(' pomDevelopers' ) as Map<String ,String > ?: [graemerocher : ' Graeme Rocher' ]
11
- it. pomCustomization = findProperty(' pomCustomization' ) as Closure ?: null
11
+ it. pomCustomization = findProperty(' pomCustomization' ) as Closure
12
12
}
Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ def versions = new Properties()
16
16
versions. load(new StringReader (new File (" $projectDir . parentFile /gradle.properties" ). text))
17
17
18
18
ext {
19
- isReleaseBuild = System . getenv(' GRADLE_PUBLISH_RELEASE ' ) == ' true'
20
- isPublishedExternal = System . getenv(' NEXUS_PUBLISH_STAGING_PROFILE_ID' ) != null
19
+ isReleaseBuild = System . getenv(' GRAILS_PUBLISH_RELEASE ' ) == ' true'
20
+ isPublishedExternal = System . getenv() . containsKey( ' NEXUS_PUBLISH_STAGING_PROFILE_ID' )
21
21
22
22
// When making changes in the dependencyVersions, remember to also update the Grails BOM Documentation:
23
23
// https://docs.grails.org/snapshot/ref/Dependency%20Versions/Grails%20BOM.html
You can’t perform that action at this time.
0 commit comments