Skip to content
This repository was archived by the owner on May 12, 2025. It is now read-only.

Commit 164d03a

Browse files
authored
✨ Bump spring boot and shell (and others), add fix on completion (#230)
1 parent 55514b0 commit 164d03a

File tree

82 files changed

+1711
-1573
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+1711
-1573
lines changed

.changelog-generator.json

Lines changed: 39 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,41 @@
11
{
2-
"categories": [{
3-
"title": "## 🚀 Features",
4-
"labels": ["feature", "enhancement"]
5-
}, {
6-
"title": "## 🐛 Fixes",
7-
"labels": ["fix", "bug"]
8-
}, {
9-
"title": "## ⬆️ Dependencies",
10-
"labels": ["dependencies"]
11-
}, {
12-
"title": "## 🧪 Tests",
13-
"labels": ["test"]
14-
}, {
15-
"title": "## 📝 Documentation",
16-
"labels": ["documentation"]
17-
}],
18-
"ignore_labels": ["ignore"],
19-
"pr_template": "- #${{NUMBER}} - ${{TITLE}}",
20-
"empty_template": "No changes"
2+
"categories": [
3+
{
4+
"title": "## 🚀 Features",
5+
"labels": [
6+
"feature",
7+
"enhancement"
8+
]
9+
},
10+
{
11+
"title": "## 🐛 Fixes",
12+
"labels": [
13+
"fix",
14+
"bug"
15+
]
16+
},
17+
{
18+
"title": "## ⬆️ Dependencies",
19+
"labels": [
20+
"dependencies"
21+
]
22+
},
23+
{
24+
"title": "## 🧪 Tests",
25+
"labels": [
26+
"test"
27+
]
28+
},
29+
{
30+
"title": "## 📝 Documentation",
31+
"labels": [
32+
"documentation"
33+
]
34+
}
35+
],
36+
"ignore_labels": [
37+
"ignore"
38+
],
39+
"pr_template": "- #${{NUMBER}} - ${{TITLE}}",
40+
"empty_template": "No changes"
2141
}

.github/dependabot.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ version: 2
22

33
updates:
44

5-
- package-ecosystem: github-actions
6-
directory: "/"
7-
open-pull-requests-limit: 99
8-
schedule:
9-
interval: daily
10-
time: "04:00"
11-
12-
- package-ecosystem: maven
13-
directory: "/"
14-
open-pull-requests-limit: 99
15-
schedule:
16-
interval: daily
17-
time: "04:00"
5+
- package-ecosystem: github-actions
6+
directory: "/"
7+
open-pull-requests-limit: 99
8+
schedule:
9+
interval: daily
10+
time: "04:00"
11+
12+
- package-ecosystem: maven
13+
directory: "/"
14+
open-pull-requests-limit: 99
15+
schedule:
16+
interval: daily
17+
time: "04:00"

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ jobs:
1212
steps:
1313
- name: Checkout
1414
uses: actions/checkout@v3
15-
15+
1616
- name: Is Pre Release ?
1717
id: pre_release
1818
uses: heineiuo/create-changelogs@v0.2.8
19-
19+
2020
- name: Build Changelog
2121
id: changelog
2222
uses: mikepenz/release-changelog-builder-action@v3
@@ -25,7 +25,7 @@ jobs:
2525
ignorePreReleases: true
2626
env:
2727
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28-
28+
2929
- name: Create Release
3030
id: create-release
3131
uses: actions/create-release@latest

.github/workflows/release.yml

Lines changed: 74 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
description: 'Specified version to release'
1616
required: false
1717
default: ''
18-
18+
1919
jobs:
2020
release:
2121

@@ -24,76 +24,76 @@ jobs:
2424
runs-on: ubuntu-latest
2525

2626
steps:
27-
28-
- name: Checkout project
29-
uses: actions/checkout@v3
30-
with:
31-
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
32-
- name: Set up JDK 11
33-
uses: actions/setup-java@v3.4.1
34-
with:
35-
java-version: 11
36-
distribution: temurin
37-
cache: maven
38-
- name: Import GPG key
39-
id: import_gpg
40-
uses: crazy-max/ghaction-import-gpg@v5.1.0
41-
with:
42-
gpg-private-key: ${{ secrets.GPG_SIGNING_KEY }}
43-
passphrase: ${{ secrets.GPG_PASSPHRASE }}
44-
- name: GPG user IDs
45-
run: |
46-
echo "fingerprint: ${{ steps.import_gpg.outputs.fingerprint }}"
47-
echo "keyid: ${{ steps.import_gpg.outputs.keyid }}"
48-
echo "name: ${{ steps.import_gpg.outputs.name }}"
49-
echo "email: ${{ steps.import_gpg.outputs.email }}"
50-
- name: Get maven version
51-
id: version
52-
run: |
53-
export version=$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec)
54-
export version=$(echo "${version%%-*}")
55-
echo "::set-output name=version::$(echo $version)"
56-
- name: Print current version
57-
run: echo "Current version = ${{ steps.version.outputs.version }}"
58-
- name: 'Compute next versions'
59-
id: next
60-
uses: "WyriHaximus/github-action-next-semvers@v1"
61-
with:
62-
version: ${{ steps.version.outputs.version }}
63-
- name: Choose next version
64-
id: choose
65-
run: |
66-
export version=$(echo ${{ github.event.inputs.version }})
67-
if [[ $version != '' ]] ; then export next=$version; elif [[ ${{ github.event.inputs.type }} == "major" ]] ; then export next=${{ steps.next.outputs.major }}; elif [[ ${{ github.event.inputs.type }} == "minor" ]] ; then export next=${{ steps.next.outputs.minor }}; else export next=${{ steps.version.outputs.version }}; fi
68-
echo "::set-output name=next::$(echo $next)"
69-
export purenext=$(echo "${next%%-*}")
70-
echo "::set-output name=purenext::$(echo $purenext)"
71-
- name: 'Get next snapshot version'
72-
id: snapshot
73-
uses: "WyriHaximus/github-action-next-semvers@v1"
74-
with:
75-
version: ${{ steps.choose.outputs.purenext }}
76-
- name: Set release and snapshot versions
77-
id: versions
78-
run: |
79-
echo "::set-output name=snapshot::$(echo ${{ steps.snapshot.outputs.patch }}-SNAPSHOT)"
80-
echo "::set-output name=release::$(echo ${{ steps.choose.outputs.next }})"
81-
- name: Log versions
82-
run: echo "Releasing version ${{ steps.versions.outputs.release }}, new dev version will be ${{ steps.versions.outputs.snapshot }}"
83-
- name: Configure git user
84-
run: |
85-
git config user.email "actions@github.com"
86-
git config user.name "GitHub Actions"
87-
- name: Configure maven settings
88-
uses: s4u/maven-settings-action@v2.6.0
89-
with:
90-
servers: '[{ "id": "ossrh", "username": "${{ secrets.OSSRH_USERNAME }}", "password": "${{ secrets.OSSRH_PASSWORD }}" }]'
91-
- name: Release
92-
run: mvn -B -ntp release:prepare release:clean -DreleaseVersion=${{ steps.versions.outputs.release }} -DdevelopmentVersion=${{ steps.versions.outputs.snapshot }}
93-
- name: Push changes
94-
uses: ad-m/github-push-action@master
95-
with:
96-
gh_token: ${{ secrets.GITHUB_TOKEN }}
97-
branch: ${{ github.ref }}
98-
tags: true
99-
force: true
27+
28+
- name: Checkout project
29+
uses: actions/checkout@v3
30+
with:
31+
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
32+
- name: Set up JDK 11
33+
uses: actions/setup-java@v3.4.1
34+
with:
35+
java-version: 11
36+
distribution: temurin
37+
cache: maven
38+
- name: Import GPG key
39+
id: import_gpg
40+
uses: crazy-max/ghaction-import-gpg@v5.1.0
41+
with:
42+
gpg-private-key: ${{ secrets.GPG_SIGNING_KEY }}
43+
passphrase: ${{ secrets.GPG_PASSPHRASE }}
44+
- name: GPG user IDs
45+
run: |
46+
echo "fingerprint: ${{ steps.import_gpg.outputs.fingerprint }}"
47+
echo "keyid: ${{ steps.import_gpg.outputs.keyid }}"
48+
echo "name: ${{ steps.import_gpg.outputs.name }}"
49+
echo "email: ${{ steps.import_gpg.outputs.email }}"
50+
- name: Get maven version
51+
id: version
52+
run: |
53+
export version=$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec)
54+
export version=$(echo "${version%%-*}")
55+
echo "::set-output name=version::$(echo $version)"
56+
- name: Print current version
57+
run: echo "Current version = ${{ steps.version.outputs.version }}"
58+
- name: 'Compute next versions'
59+
id: next
60+
uses: "WyriHaximus/github-action-next-semvers@v1"
61+
with:
62+
version: ${{ steps.version.outputs.version }}
63+
- name: Choose next version
64+
id: choose
65+
run: |
66+
export version=$(echo ${{ github.event.inputs.version }})
67+
if [[ $version != '' ]] ; then export next=$version; elif [[ ${{ github.event.inputs.type }} == "major" ]] ; then export next=${{ steps.next.outputs.major }}; elif [[ ${{ github.event.inputs.type }} == "minor" ]] ; then export next=${{ steps.next.outputs.minor }}; else export next=${{ steps.version.outputs.version }}; fi
68+
echo "::set-output name=next::$(echo $next)"
69+
export purenext=$(echo "${next%%-*}")
70+
echo "::set-output name=purenext::$(echo $purenext)"
71+
- name: 'Get next snapshot version'
72+
id: snapshot
73+
uses: "WyriHaximus/github-action-next-semvers@v1"
74+
with:
75+
version: ${{ steps.choose.outputs.purenext }}
76+
- name: Set release and snapshot versions
77+
id: versions
78+
run: |
79+
echo "::set-output name=snapshot::$(echo ${{ steps.snapshot.outputs.patch }}-SNAPSHOT)"
80+
echo "::set-output name=release::$(echo ${{ steps.choose.outputs.next }})"
81+
- name: Log versions
82+
run: echo "Releasing version ${{ steps.versions.outputs.release }}, new dev version will be ${{ steps.versions.outputs.snapshot }}"
83+
- name: Configure git user
84+
run: |
85+
git config user.email "actions@github.com"
86+
git config user.name "GitHub Actions"
87+
- name: Configure maven settings
88+
uses: s4u/maven-settings-action@v2.6.0
89+
with:
90+
servers: '[{ "id": "ossrh", "username": "${{ secrets.OSSRH_USERNAME }}", "password": "${{ secrets.OSSRH_PASSWORD }}" }]'
91+
- name: Release
92+
run: mvn -B -ntp release:prepare release:clean -DreleaseVersion=${{ steps.versions.outputs.release }} -DdevelopmentVersion=${{ steps.versions.outputs.snapshot }}
93+
- name: Push changes
94+
uses: ad-m/github-push-action@master
95+
with:
96+
gh_token: ${{ secrets.GITHUB_TOKEN }}
97+
branch: ${{ github.ref }}
98+
tags: true
99+
force: true

0 commit comments

Comments
 (0)