Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,16 @@ jobs:
uses: gradle/wrapper-validation-action@v1

- name: Build with Gradle
run: ./gradlew build
run: ./gradlew check

- name: Install dependencies
run: npm ci

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release

- name: Upload distribution
uses: actions/upload-artifact@v3
with:
name: API-Editor
path: api-editor/backend/build/libs/*-all.jar
if-no-files-found: error

build-package-parser:
runs-on: ubuntu-latest
Expand Down
49 changes: 0 additions & 49 deletions .github/workflows/tag.yml

This file was deleted.

2 changes: 1 addition & 1 deletion api-editor/backend/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ tasks.withType<KotlinCompile> {
}

tasks.withType<ShadowJar> {
archiveFileName.set("${project.group}-${project.name}-${project.version}-all.jar")
archiveFileName.set("${project.group}-${project.name}-all.jar")
}

// Dependencies --------------------------------------------------------------------------------------------------------
Expand Down
5 changes: 0 additions & 5 deletions docs/Development/README.md

This file was deleted.

42 changes: 0 additions & 42 deletions docs/Development/how-to-prepare-a-release.md

This file was deleted.

19 changes: 19 additions & 0 deletions release.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
module.exports = {
branches: ['main'],
plugins: [
['@semantic-release/commit-analyzer', { preset: 'conventionalcommits' }],
['@semantic-release/release-notes-generator', { preset: 'conventionalcommits' }],
[
'@semantic-release/github',
{
assets: [
{
path: 'api-editor/backend/build/libs/*-all.jar',
name: 'api-editor-${nextRelease.gitTag}.jar',
label: 'API-Editor (${nextRelease.gitTag})',
},
],
},
],
],
};
2 changes: 1 addition & 1 deletion tsconfig.eslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"compilerOptions": {
"noEmit": true
},
"include": ["./.eslintrc.js", "./api-editor/gui/src/**/*", "./api-editor/gui/vite.config.ts"],
"include": ["./.eslintrc.js", "release.config.js", "./api-editor/gui/src/**/*", "./api-editor/gui/vite.config.ts"],
"exclude": []
}