Skip to content

Commit

Permalink
ci: Match changelog format of other ReVanced repos (#1705)
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminHalko committed Feb 26, 2024
1 parent 6d6fae1 commit d414a91
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 138 deletions.
1 change: 0 additions & 1 deletion .github/workflows/release-build.yml
Expand Up @@ -11,7 +11,6 @@ on:
- "android/**"
- "assets/**"
- "lib/**"
- ".releaserc.js"
- "pubspec.yaml"

jobs:
Expand Down
64 changes: 64 additions & 0 deletions .releaserc
@@ -0,0 +1,64 @@
{
"branches": [
"main",
{
"name": "dev",
"prerelease": true
}
],
"plugins": [
[
"@semantic-release/commit-analyzer", {
"releaseRules": [
{ "type": "build", "scope": "Needs bump", "release": "patch" }
]
}
],
"@semantic-release/changelog",
"@semantic-release/release-notes-generator",
[
"@droidsolutions-oss/semantic-release-update-file",
{
"files": [
{
"path": ["pubspec.yaml"],
"type": "flutter",
"branches": ["main", "dev"]
}
]
}
],
[
"@semantic-release/exec",
{
"prepareCmd": "flutter build apk"
}
],
[
"@semantic-release/git",
{
"assets": [
"pubspec.yaml"
]
}
],
[
"@semantic-release/github",
{
"assets": [
{
"path": "build/app/outputs/apk/release/revanced-manager*.apk"
}
],
"successComment": false
}
],
[
"@saithodev/semantic-release-backmerge",
{
"backmergeBranches": [{"from": "main", "to": "dev"}],
"clearWorkspace": true
}
]
]
}
123 changes: 0 additions & 123 deletions .releaserc.js

This file was deleted.

14 changes: 1 addition & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Expand Up @@ -5,7 +5,6 @@
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"conventional-changelog-conventionalcommits": "^7.0.2",
"semantic-release": "^23.0.2"
}
}

0 comments on commit d414a91

Please sign in to comment.