.releaserc 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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/changelog",
  18. "@semantic-release/release-notes-generator",
  19. [
  20. "@droidsolutions-oss/semantic-release-update-file",
  21. {
  22. "files": [
  23. {
  24. "path": ["pubspec.yaml"],
  25. "type": "flutter",
  26. "branches": ["main", "dev"]
  27. }
  28. ]
  29. }
  30. ],
  31. [
  32. "@semantic-release/exec",
  33. {
  34. "prepareCmd": "flutter build apk"
  35. }
  36. ],
  37. [
  38. "@semantic-release/git",
  39. {
  40. "assets": [
  41. "pubspec.yaml"
  42. ]
  43. }
  44. ],
  45. [
  46. "@semantic-release/github",
  47. {
  48. "assets": [
  49. {
  50. "path": "build/app/outputs/apk/release/revanced-manager*.apk"
  51. }
  52. ],
  53. "successComment": false
  54. }
  55. ],
  56. [
  57. "@saithodev/semantic-release-backmerge",
  58. {
  59. "backmergeBranches": [{"from": "main", "to": "dev"}],
  60. "clearWorkspace": true
  61. }
  62. ]
  63. ]
  64. }