Skip to content

Commit

Permalink
chore: create release
Browse files Browse the repository at this point in the history
  • Loading branch information
neo279 committed Mar 30, 2020
1 parent 47d6cf3 commit c360fbe
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
17 changes: 17 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -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"
}
]
}
]
]
}
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
</parent>

<properties>
<maven.compiler.source>1.13</maven.compiler.source>
<maven.compiler.target>1.13</maven.compiler.target>
<maven.compiler.source>13</maven.compiler.source>
<maven.compiler.target>13</maven.compiler.target>
<slf4jVersion>1.6.1</slf4jVersion>
<l2j-server-geo-driver.version>2.6.1.0</l2j-server-geo-driver.version>
<owner.version>1.0.10</owner.version>
Expand Down

0 comments on commit c360fbe

Please sign in to comment.