.releaserc 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {
  2. "branches": [
  3. "main",
  4. {
  5. "name": "dev",
  6. "prerelease": true
  7. }
  8. ],
  9. "plugins": [
  10. [
  11. "@semantic-release/commit-analyzer", {
  12. "releaseRules": [
  13. { "type": "build", "scope": "Needs bump", "release": "patch" }
  14. ]
  15. }
  16. ],
  17. "@semantic-release/release-notes-generator",
  18. "@semantic-release/changelog",
  19. "gradle-semantic-release-plugin",
  20. [
  21. "@semantic-release/git",
  22. {
  23. "assets": [
  24. "CHANGELOG.md",
  25. "gradle.properties"
  26. ],
  27. "message": "chore: Release v${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
  28. }
  29. ],
  30. [
  31. "@semantic-release/github",
  32. {
  33. "assets": [
  34. {
  35. "path": "app/build/outputs/apk/release/revanced-integrations*"
  36. }
  37. ],
  38. successComment: false
  39. }
  40. ],
  41. [
  42. "@saithodev/semantic-release-backmerge",
  43. {
  44. backmergeBranches: [{"from": "main", "to": "dev"}],
  45. clearWorkspace: true
  46. }
  47. ]
  48. ]
  49. }