Skip to content

Commit

Permalink
feat(release): remove unnecessary node dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Silthus committed Sep 21, 2021
1 parent 35ee122 commit ce926bf
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 4,963 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:

release:
needs: [build, test]
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/master' || 'refs/heads/beta' || github.ref == 'refs/heads/alpha'

runs-on: ubuntu-18.04

Expand Down Expand Up @@ -111,9 +111,7 @@ jobs:
run: chmod +x gradlew

- name: Release
run: |
yarn install
yarn semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_URL: "https://api.github.com/"
run: npx -p @semantic-release/changelog -p @semantic-release/git -p gradle-semantic-release-plugin -p semantic-release semantic-release
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

27 changes: 27 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"gradle-semantic-release-plugin",
[
"@semantic-release/github",
{
"assets": [
{
"path": "**/build/libs/*.jar"
}
]
}
],
[
"@semantic-release/git",
{
"assets": [
"gradle.properties",
"CHANGELOG.md"
]
}
]
]
}
36 changes: 0 additions & 36 deletions commitlint.config.js

This file was deleted.

45 changes: 0 additions & 45 deletions package.json

This file was deleted.

Loading

0 comments on commit ce926bf

Please sign in to comment.