Skip to content

Commit aeb6ec4

Browse files
committed
Create codellm-devkit organization level release automation for java projects.
Signed-off-by: Rahul Krishna <[email protected]>
1 parent 9aae318 commit aeb6ec4

File tree

2 files changed

+45
-2
lines changed

2 files changed

+45
-2
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,16 @@ jobs:
2929
- name: Make gradlew executable
3030
run: chmod +x ./gradlew
3131

32-
- name: Build with Gradle
33-
run: ./gradlew clean fatJar
32+
- name: Build and Test
33+
id: build
34+
continue-on-error: true # Allow the workflow to continue if this fails
35+
run: ./gradlew clean fatJar test
36+
37+
- name: Delete tag on failure
38+
if: steps.build.outcome != 'success'
39+
run: |
40+
git push --delete origin ${GITHUB_REF#refs/tags/}
41+
exit 1 # Fail the workflow
3442
3543
- name: Build Changelog
3644
id: gen_changelog
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"categories": [
3+
{
4+
"title": "## 🚀 Features",
5+
"labels": ["kind/feature", "enhancement"]
6+
},
7+
{
8+
"title": "## 🐛 Fixes",
9+
"labels": ["fix", "bug"]
10+
},
11+
{
12+
"title": "## ♻️ Refactoring",
13+
"labels": ["refactoring"]
14+
},
15+
{
16+
"title": "## ⚡️ Performance Improvements",
17+
"labels": ["performance"]
18+
},
19+
{
20+
"title": "## \uD83D\uDCDA Documentation",
21+
"labels": ["documentation", "doc"]
22+
},
23+
{
24+
"title": "## \uD83D\uDEA6 Tests",
25+
"labels": ["test"]
26+
},
27+
{
28+
"title": "## \uD83D\uDEE0 Other Updates",
29+
"labels": ["other", "kind/dependency-change"]
30+
}
31+
],
32+
"ignore_labels": [
33+
"ignore"
34+
]
35+
}

0 commit comments

Comments
 (0)