Skip to content

Commit fed686b

Browse files
committed
🔧 (project) Update dev scripts
1 parent 05b869d commit fed686b

11 files changed

Lines changed: 9 additions & 707 deletions

File tree

.github/workflows/maven-release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
with:
2121
# This is needed for the scripts
2222
fetch-depth: 0
23+
submodules: 'recursive'
2324

2425
- name: Set up JDK
2526
uses: actions/setup-java@v4
@@ -30,8 +31,5 @@ jobs:
3031
- name: Give permissions to Gradle
3132
run: chmod +x gradlew
3233

33-
- name: Give permissions to script
34-
run: chmod +x scripts/Release
35-
3634
- name: Release
37-
run: java --source 21 ./scripts/Release
35+
run: java jar ./scripts/binaries/Release.jar

.github/workflows/update-changelogs.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,15 @@ jobs:
1313
with:
1414
# This is needed for the scripts
1515
fetch-depth: 0
16+
submodules: 'recursive'
1617

1718
- name: Set up JDK
1819
uses: actions/setup-java@v4
1920
with:
2021
distribution: 'zulu'
2122
java-version: '25'
2223

23-
- name: Give permissions to script
24-
run: chmod +x scripts/UpdateChangelogs
25-
2624
- name: Run script
27-
run: java --source 21 ./scripts/UpdateChangelogs
25+
run: java -jar ./scripts/binaries/UpdateChangelogs.jar
2826

2927

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "scripts"]
2+
path = scripts
3+
url = https://github.com/palexdev/DevScripts

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ plugins {
2424
}
2525

2626
ext {
27-
scriptsDir = "$rootDir/scripts/gradle"
27+
scriptsDir = "$rootDir/gradle"
2828
}
2929

3030
subprojects {

scripts

Submodule scripts added at 262018b

scripts/Release

Lines changed: 0 additions & 173 deletions
This file was deleted.

0 commit comments

Comments
 (0)