From c360fbeb0ee6b7b517d594d669bc858b9cd75600 Mon Sep 17 00:00:00 2001 From: filip <62439459+neo279@users.noreply.github.com> Date: Mon, 30 Mar 2020 04:28:35 +0200 Subject: [PATCH] chore: create release --- .github/workflows/maven.yml | 2 ++ .releaserc.json | 17 +++++++++++++++++ pom.xml | 4 ++-- 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 .releaserc.json diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 9a3ac42..e55134a 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -22,3 +22,5 @@ jobs: java-version: 13 - name: Build with Maven run: mvn -B package --file pom.xml + - name: Release + run: env GH_TOKEN=${{ secrets.GITHUB_TOKEN }} npx semantic-release diff --git a/.releaserc.json b/.releaserc.json new file mode 100644 index 0000000..58c9042 --- /dev/null +++ b/.releaserc.json @@ -0,0 +1,17 @@ +{ + "plugins": [ + "@semantic-release/commit-analyzer", + "@semantic-release/release-notes-generator", + [ + "@semantic-release/github", + { + "assets": [ + { + "path": "target/l2jgeo-1.0-SNAPSHOT.jar", + "label": "l2jgeo-<%= nextRelease %>.jar" + } + ] + } + ] + ] +} \ No newline at end of file diff --git a/pom.xml b/pom.xml index 2f71f6f..ec42ed9 100644 --- a/pom.xml +++ b/pom.xml @@ -12,8 +12,8 @@ - 1.13 - 1.13 + 13 + 13 1.6.1 2.6.1.0 1.0.10