Skip to content

Commit 421319a

Browse files
committed
Add Release Scrpts
1 parent cce7c23 commit 421319a

File tree

4 files changed

+26
-0
lines changed

4 files changed

+26
-0
lines changed

build.gradle

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ buildscript {
33
maven { url 'https://repo.spring.io/plugins-release' }
44
}
55
dependencies {
6+
classpath "com.github.ben-manes:gradle-versions-plugin:0.17.0"
67
classpath("org.springframework.build.gradle:propdeps-plugin:0.0.7")
78
classpath('org.asciidoctor:asciidoctor-gradle-plugin:1.5.1')
89
classpath("io.spring.gradle:spring-io-plugin:0.0.6.RELEASE")
@@ -33,6 +34,7 @@ allprojects {
3334
apply plugin: 'idea'
3435
apply plugin: 'eclipse'
3536
apply plugin: 'java'
37+
apply plugin: "com.github.ben-manes.versions"
3638

3739
group = "org.springframework.ldap"
3840

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
releasenotes:
2+
sections:
3+
- title: "New Features"
4+
emoji: ":star:"
5+
labels: ["enhancement"]
6+
- title: "Bug Fixes"
7+
emoji: ":beetle:"
8+
labels: ["bug", "regression"]
9+
- title: "Dependency Upgrades"
10+
emoji: ":hammer:"
11+
labels: ["dependency-upgrade"]
12+
- title: "Non-passive"
13+
emoji: ":rewind:"
14+
labels: ["breaks-passivity"]

scripts/release/wait-for-done.sh

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
3+
VERSION=$1
4+
until http -h --check-status --ignore-stdin https://repo1.maven.org/maven2/org/springframework/ldap/spring-ldap-core/$VERSION/; do sleep 10; clear; done; spd-say "It is now uploaded"

scripts/update-dependencies.sh

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
rm -f build/updates.txt
3+
./gradlew dependencyUpdate -Drevision=release
4+
find -name report.txt | xargs cat > build/updates.txt
5+
echo "Updates...."
6+
cat build/updates.txt | fgrep ' ->' | sort | uniq

0 commit comments

Comments
 (0)