This is an automated email from the ASF dual-hosted git repository.
matrei pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git
The following commit(s) were added to refs/heads/7.0.x by this push:
new bcca01f8d0 Update env var to `GRAILS_PUBLISH_RELEASE` (#14126)
bcca01f8d0 is described below
commit bcca01f8d08ee54075eab1d8fb6d265ce4b435d3
Author: Mattias Reichel <[email protected]>
AuthorDate: Thu Apr 10 13:38:25 2025 +0200
Update env var to `GRAILS_PUBLISH_RELEASE` (#14126)
* build: set correct env var `GRAILS_PUBLISH_RELEASE`
* chore: cleanup
---
.github/workflows/gradle.yml | 2 +-
gradle/publish-config.gradle | 2 +-
grails-bom/build.gradle | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml
index b1e9b50a48..cbf494c738 100644
--- a/.github/workflows/gradle.yml
+++ b/.github/workflows/gradle.yml
@@ -100,7 +100,7 @@ jobs:
- name: "š¤ Publish Snapshot Artifacts"
id: publish
env:
- GRADLE_PUBLISH_RELEASE: 'false'
+ GRAILS_PUBLISH_RELEASE: 'false'
MAVEN_PUBLISH_URL: ${{ secrets.GRAILS_NEXUS_PUBLISH_SNAPSHOT_URL }}
MAVEN_PUBLISH_USERNAME: ${{ secrets.NEXUS_USER }}
MAVEN_PUBLISH_PASSWORD: ${{ secrets.NEXUS_PW }}
diff --git a/gradle/publish-config.gradle b/gradle/publish-config.gradle
index 8dec9dffc8..67dace7abb 100644
--- a/gradle/publish-config.gradle
+++ b/gradle/publish-config.gradle
@@ -8,5 +8,5 @@ extensions.configure(GrailsPublishExtension) {
it.title = findProperty('pomTitle') ?: 'GrailsĀ® framework'
it.desc = findProperty('pomDescription') ?: 'Grails Web Application
Framework'
it.developers = findProperty('pomDevelopers') as Map<String,String> ?:
[graemerocher: 'Graeme Rocher']
- it.pomCustomization = findProperty('pomCustomization') as Closure ?: null
+ it.pomCustomization = findProperty('pomCustomization') as Closure
}
\ No newline at end of file
diff --git a/grails-bom/build.gradle b/grails-bom/build.gradle
index 14a95e7bb8..a73352e1e8 100644
--- a/grails-bom/build.gradle
+++ b/grails-bom/build.gradle
@@ -16,8 +16,8 @@ def versions = new Properties()
versions.load(new StringReader(new
File("$projectDir.parentFile/gradle.properties").text))
ext {
- isReleaseBuild = System.getenv('GRADLE_PUBLISH_RELEASE') == 'true'
- isPublishedExternal = System.getenv('NEXUS_PUBLISH_STAGING_PROFILE_ID') !=
null
+ isReleaseBuild = System.getenv('GRAILS_PUBLISH_RELEASE') == 'true'
+ isPublishedExternal =
System.getenv().containsKey('NEXUS_PUBLISH_STAGING_PROFILE_ID')
// When making changes in the dependencyVersions, remember to also update
the Grails BOM Documentation:
//
https://docs.grails.org/snapshot/ref/Dependency%20Versions/Grails%20BOM.html