Skip to content

Commit

Permalink
Prepare Release 5.1.1 (#381)
Browse files Browse the repository at this point in the history
* build: remove `mavenLocal()` from buildscript repositories

Ensures consistency across environments by avoiding reliance on local artifacts.

* build: remove `-plain` from jar artifact

Use expected artifact naming convention.

* fix(deps): update Grails to `5.3.6`

* ci: change ci user

`grails-build` is not an account in `GPC`.
Use values from organization secrets instead.
  • Loading branch information
matrei authored Nov 20, 2024
1 parent 13f6936 commit 08bcaf1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
matrix:
java: ['11']
env:
GIT_USER_NAME: grails-build
GIT_USER_EMAIL: [email protected]
GIT_USER_NAME: ${{ secrets.GIT_USER_NAME }}
GIT_USER_EMAIL: ${{ secrets.GIT_USER_EMAIL }}
steps:
- name: Checkout repository
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
Expand Down
5 changes: 4 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
buildscript {
repositories {
mavenLocal()
maven { url "https://plugins.gradle.org/m2/" }
maven { url "https://repo.grails.org/grails/core" }
}
Expand Down Expand Up @@ -91,4 +90,8 @@ tasks.register('apiDocs', Copy) {
into file("${buildDir}/asciidoc/api")
}

tasks.named('jar', Jar) {
it.archiveClassifier = ''
}

asciidoctor.dependsOn(apiDocs)
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#Mon, 08 Apr 2024 19:48:24 +0000
projectVersion=5.1.1-SNAPSHOT
grailsVersion=5.3.5
grailsVersion=5.3.6
grailsGradlePluginVersion=5.3.1
grailsScaffoldingVersion=2.1.0
joddWotVersion=3.3.8
Expand Down

0 comments on commit 08bcaf1

Please sign in to comment.