Skip to content

docs: Improve documentation #1411

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 406 commits into from
Closed
Show file tree
Hide file tree
Changes from 152 commits
Commits
Show all changes
406 commits
Select commit Hold shift + click to select a range
9df98ed
fix: use upsert when modifying installed apps
Axelen123 Oct 19, 2023
4b12ae1
fix: jvm signature clash error
Axelen123 Oct 20, 2023
18cfb56
fix: bundles not loading on Android 14
Axelen123 Oct 20, 2023
5290713
feat(patch-selector): remove TODO about an unplanned feature
Axelen123 Oct 20, 2023
32e8a37
fix: handle exceptions when checking for bundle updates
Axelen123 Oct 20, 2023
64ec73d
fix: more android 34 fixes
Axelen123 Oct 20, 2023
e70c10a
feat: add checkboxes to the downloaded apps page
Axelen123 Oct 20, 2023
65f8d38
feat: show toast when no patches are selected
Axelen123 Oct 20, 2023
67603f6
docs: part 2.1
validcube Oct 21, 2023
85c6e72
docs: add ReVanced assets
validcube Oct 21, 2023
26b9652
docs: part 3
validcube Oct 21, 2023
830a666
docs: part 4
validcube Oct 21, 2023
949b1da
docs: part 4.1
validcube Oct 21, 2023
e0dfbaf
docs: part 4.2
validcube Oct 21, 2023
9b9525e
docs: part 4.3
validcube Oct 21, 2023
f732df1
docs: part 4.4
validcube Oct 21, 2023
a503f48
docs: part 4.5
validcube Oct 21, 2023
a280fc2
docs: part 4.5.1 (test)
validcube Oct 21, 2023
cd5787a
docs: part 4.6
validcube Oct 21, 2023
2f0cdff
docs: part 4.7
validcube Oct 21, 2023
b8378fb
docs: part 4.8
validcube Oct 21, 2023
259f763
docs: part 4.9
validcube Oct 21, 2023
d58fd96
docs: part 4.10
validcube Oct 21, 2023
8a3d163
docs: part 5
validcube Oct 21, 2023
7bf1a5a
docs: part 5.1
validcube Oct 21, 2023
3c083ed
docs: part 5.2
validcube Oct 21, 2023
2f782b4
docs: part 6
validcube Oct 21, 2023
98747f4
docs: part 6.1
validcube Oct 21, 2023
1f5331d
docs: part 6.2
validcube Oct 21, 2023
8acdc17
docs: part 6.3
validcube Oct 21, 2023
0d2d879
docs 6.4
validcube Oct 21, 2023
a70ad3d
docs: part 6.5
validcube Oct 21, 2023
1877408
docs: part 6.6
validcube Oct 21, 2023
7b49af2
docs: part 6.7
validcube Oct 21, 2023
cf9a14c
docs: part 6.8
validcube Oct 21, 2023
d06fb08
docs: part 6.9
validcube Oct 21, 2023
50e8d1f
docs: clarify license
Axelen123 Oct 21, 2023
f14b697
docs: part 7
validcube Oct 21, 2023
a3c48d1
docs: part 7.1
validcube Oct 21, 2023
07ee005
docs: part 8
validcube Oct 22, 2023
891fb57
docs: part 8.1
validcube Oct 22, 2023
10815c8
docs: part 7.2
validcube Oct 22, 2023
a8682d6
docs: part 8.3
validcube Oct 22, 2023
af49457
docs: part 8.4-1
validcube Oct 22, 2023
94eb893
docs: 8.4-1.1
validcube Oct 22, 2023
dcf51c1
docs: part 8.4-2
validcube Oct 22, 2023
2f31fc7
docs: part 8.5
validcube Oct 23, 2023
0419b2f
docs: part 8.6
validcube Oct 23, 2023
bc09af9
docs: part 8.6.1 (test)
validcube Oct 23, 2023
757840b
feat(bundles tab): add BackHandler
Axelen123 Oct 26, 2023
cc89784
fix: perform selected app operations in the correct order
Axelen123 Oct 26, 2023
6abaac2
chore: upgrade dependencies (#1401)
BenjaminHalko Oct 26, 2023
7d887c7
fix: use correct checksum
Axelen123 Oct 27, 2023
172604f
feat(installer): sign apk in patcher worker
Axelen123 Oct 27, 2023
123ae37
chore: add issue template (#1432)
BenjaminHalko Oct 28, 2023
7fe4724
feat: remember patch options (#1449)
Axelen123 Oct 31, 2023
25bd91d
feat(Settings): use SettingsListItem consistently and overall improve…
Ushie Nov 1, 2023
7741394
feat(NotificationCard): rewrite & consistent usage (#1426)
Ushie Nov 1, 2023
8df7f29
refactor(ui-components): deduplicate colors and move to settings folder
Axelen123 Nov 1, 2023
5fff0a2
fix: option state crash (#1456)
BenjaminHalko Nov 2, 2023
3c57762
feat(Installer): use BottomAppBar (#1428)
Ushie Nov 3, 2023
1a83315
feat(Changelogs): overall improvement (#1429)
Ushie Nov 3, 2023
1dc41ba
feat: check for updates on startup (#1462)
CnC-Robert Nov 5, 2023
59dacee
chore: bump patcher
Axelen123 Nov 6, 2023
ac561e7
feat: Use correct casing in module description
oSumAtrIX Nov 7, 2023
944b57c
docs: part 8.7
validcube Nov 8, 2023
2a3395c
docs: part 9
validcube Nov 8, 2023
d32a213
docs: part 9.1
validcube Nov 8, 2023
35996b6
docs: part 9.2
validcube Nov 8, 2023
1521d21
docs: part 9.3
validcube Nov 8, 2023
62bb0d3
docs(accessibility): part 9.4
validcube Nov 8, 2023
2bd8463
fix: parcel error for nullable types
Axelen123 Nov 15, 2023
62a5fce
feat(Contributors Screen): implement design from Figma (#1465)
Ushie Nov 19, 2023
bd9778a
feat(Update Screen): changelogs & handle states (#1464)
Ushie Nov 19, 2023
9cab919
fix: load patch bundles earlier
Axelen123 Nov 29, 2023
12b00e5
fix: specify `multithreadingDexFileWriter` in `PatcherOptions` (#1402)
BenjaminHalko Nov 29, 2023
de4e616
chore(deps): bump revanced patcher and library
Axelen123 Dec 1, 2023
a17a059
ci: caching with `gradle-build-action`
validcube Dec 2, 2023
8cd617e
chore(template): update label name for feature
validcube Dec 2, 2023
d9eb1c4
refactor: slight formatting of `build.gradle.kts`
validcube Dec 2, 2023
55c7800
build: bump Gradle to v8.5
validcube Dec 2, 2023
a8b9d93
docs: update revanced url
validcube Dec 2, 2023
3c56db4
Merge branch 'compose-dev' into docs/readme
validcube Dec 9, 2023
94de170
docs: part 9.5
validcube Dec 9, 2023
d55abf5
feat(app-selector): show patchable installed apps first (#1496)
TheAabedKhan Dec 14, 2023
439f625
chore(deps): update jetpack compose
Axelen123 Dec 25, 2023
4fdd6bb
chore: upgrade AGP to `8.2.0` + migrate deprecated functions (#1574)
BenjaminHalko Dec 26, 2023
d9d7b98
feat: Purple default theme (#1601)
BenjaminHalko Dec 28, 2023
aa6e612
feat: Select bundle type before adding bundle (#1490)
Ushie Jan 4, 2024
b7cb6b9
feat: updater UI and code improvements (#1597)
Axelen123 Jan 5, 2024
3232bb1
feat: improve patcher UI (#1494)
CnC-Robert Jan 6, 2024
f38b31a
fix: progress bar not updating
CnC-Robert Jan 7, 2024
36c8f59
feat: Scrollbars (#1479)
Ushie Jan 7, 2024
c0f3d02
refactor: fix terminology and wording related to patches (#1623)
Axelen123 Jan 18, 2024
e186dfd
docs(security): init (#1612)
validcube Jan 20, 2024
4acef77
refactor: use consistent wording for the version compat check
Axelen123 Jan 20, 2024
0b9889e
fix: patch options reset button being broken
Axelen123 Jan 21, 2024
607d8b6
feat: add toast feedback to the bundle update button
Axelen123 Jan 21, 2024
39536c0
feat: Collapse ExtendedFAB on scroll (#1630)
Ushie Feb 3, 2024
16cdc7a
refactor: Disable update for dev build (#1673)
BenjaminHalko Feb 17, 2024
ef04186
fix(VersionSelector): use correct LazyColumn item key
Axelen123 Mar 5, 2024
088de60
chore: upgrade dependencies (#1670)
BenjaminHalko Mar 5, 2024
6709505
chore: Upgrade dependencies (#1761)
BenjaminHalko Mar 10, 2024
8d5d86f
feat: add social links (#1294)
BenjaminHalko Mar 13, 2024
5d7f9d1
feat: check if the version being used is the recommended version (#1675)
Axelen123 Mar 15, 2024
ca49d3a
feat: add external process runtime (#1799)
Axelen123 Mar 29, 2024
ce13422
fix: correctly patch apk files
Axelen123 Apr 3, 2024
ac47a7e
build(deps): bump plugin.serialization from 1.9.22 to 1.9.23 (#1811)
dependabot[bot] Apr 4, 2024
91ca5be
build(deps): bump libsu from 5.2.1 to 5.2.2 (#1810)
dependabot[bot] Apr 4, 2024
60ca901
build(deps): bump androidx.compose:compose-bom from 2024.02.02 to 202…
dependabot[bot] Apr 4, 2024
ab0682c
build(deps): bump androidx.compose.ui:ui-tooling from 1.6.3 to 1.6.4 …
dependabot[bot] Apr 4, 2024
afd6c5d
build(deps): bump aboutLibrariesGradlePlugin from 11.1.0 to 11.1.1 (#…
dependabot[bot] Apr 4, 2024
634d793
fix: crash caused by compose inlining bug
Axelen123 Apr 4, 2024
0df39a1
refactor: replace deprecated functions
Axelen123 Apr 5, 2024
2a1445d
build(deps): update ksp
Axelen123 Apr 5, 2024
ac0a036
refactor: fix more warnings
Axelen123 Apr 5, 2024
4e7d96e
feat: revert to blue theme colors
CnC-Robert May 22, 2024
6bfd909
feat: move update to notification card (#1917)
CnC-Robert May 27, 2024
1f671ab
fix: automatically focus search views
CnC-Robert May 27, 2024
413083c
fix(downloader): versions not loading correctly
CnC-Robert May 29, 2024
c7d183e
feat: rename debug build to `ReVanced Manager (dev)`
CnC-Robert Jun 23, 2024
16fea59
fix: scrolling in patch selector
CnC-Robert Jun 23, 2024
269fa79
feat: improve patcher screen labels
CnC-Robert Jun 23, 2024
75fcdb1
fix: use proper update icon
CnC-Robert Jun 25, 2024
5455cf2
feat: rename main bundle to `Default`
CnC-Robert Jun 25, 2024
a12c5c5
fix: add bounds checks in patch selector
Axelen123 Jul 2, 2024
1ce56af
feat: get bundle information from jar manifest (#2027)
Axelen123 Jul 2, 2024
47bdc69
refactor: Improve naming consistency in `libs.version.toml`
Ushie Jul 2, 2024
603a827
chore: Remove unused ARMv7 AAPT binary
Ushie Jul 2, 2024
71b5f53
feat: Improve initial update popup wording
Ushie Jul 2, 2024
fa13d4a
feat: Highlight links in Markdown
Ushie Jul 2, 2024
f197760
feat: Change "Update" to "Show" in Update Available notification
Ushie Jul 2, 2024
39fbb87
fix: Change the title in the Update screen from "Updates" to "Update"
Ushie Jul 2, 2024
d631331
feat: Improve device information in debugging section
Ushie Jul 2, 2024
9883dcd
fix: Use FAB instead of ListItem to patch in App Overview
Ushie Jul 2, 2024
d987ac6
feat: Add `isScrollingUp` support for ScrollState
Ushie Jul 2, 2024
e3bd8a8
feat: Add sensitivity to `isScrollingUp`
Ushie Jul 2, 2024
495100d
fix: Use the correct icon in API URL dialog
Ushie Jul 2, 2024
1bf004d
feat: Progressive AlertDialog for adding bundles
Ushie Jul 3, 2024
a0f1873
feat: Remove tag from changelog
Ushie Jul 3, 2024
397a1f8
Merge branch 'compose-dev' of https://github.com/ReVanced/revanced-ma…
Ushie Jul 3, 2024
d8248cc
fix: import bundles on another thread
Axelen123 Jul 3, 2024
8d3d500
feat: add ability to share debug logs
Axelen123 Jul 3, 2024
48fe3a7
fix: import export screen UX
Axelen123 Jul 3, 2024
a22158d
fix: crash when removing used bundles
Axelen123 Jul 4, 2024
ec0a077
feat: implement more patch option types (#2015)
Axelen123 Jul 4, 2024
f99cdfe
feat: improve UX for failed or missing bundles
Axelen123 Jul 4, 2024
b26fe30
Merge branch 'compose-dev' of https://github.com/ReVanced/revanced-ma…
Ushie Jul 4, 2024
7c7fb7b
feat: dont ask for root on launch
Axelen123 Jul 5, 2024
e6e043f
fix: cleanup advanced settings screen
Axelen123 Jul 5, 2024
6f9a984
fix: improve bundle page strings
Axelen123 Jul 5, 2024
032ca39
feat: Automatic language detection (#2032)
validcube Jul 5, 2024
3f4a234
fix: run props flow on correct dispatcher (#2035)
Axelen123 Jul 5, 2024
1ee1330
feat: improve the safeguards (#2038)
Axelen123 Jul 6, 2024
a995f43
fix: move battery warning to dashboard
Axelen123 Jul 6, 2024
36f864e
chore: update dependencies
Axelen123 Jul 6, 2024
f655a6e
ci: Bump dependencies to latest (#2039)
validcube Jul 7, 2024
40492b6
refactor: Use TextButton instead of FilledButton for consistency
validcube Jul 7, 2024
37e9630
fix: Inconsistent padding for battery optimisation warning
validcube Jul 7, 2024
b8a85c4
refactor: Use lastIndex
Ushie Jul 10, 2024
d39804f
Merge branch 'compose-dev' into fix/minor-issues
Ushie Jul 10, 2024
881b137
feat: Improve overall UI and fix inconsistencies (#2028)
Ushie Jul 10, 2024
563f2f3
fix: Remove unnecessary screen padding
Ushie Jul 17, 2024
42ef2ca
fix: Broken header padding in `AlertDialogExtended` when using an Icon
Ushie Jul 17, 2024
45f3204
feat: Improve custom API URL dialog (#2033)
validcube Jul 18, 2024
de6fddf
fix: android icon not loading in app selector
CnC-Robert Jul 20, 2024
2eca45d
fix: always use default patch selection if customization is disabled
Axelen123 Jul 20, 2024
641d518
build: Enable Gradle Configuration Cache (#2059)
validcube Jul 22, 2024
52a89b1
feat: Improve update setting tile titles
Ushie Jul 24, 2024
cdc69ea
fix: Support patching on ARMv7 by updating AAPT2 (#2084)
oSumAtrIX Jul 28, 2024
afc72ff
feat: Show manager update dialog (#2069)
Ushie Jul 28, 2024
4cbd480
feat: Add reset button to custom API (#2076)
Ushie Jul 29, 2024
f126fe9
fix: show available and selected patches in patch selector screen
CnC-Robert Jul 29, 2024
c18901c
feat: Improve unsupported patch warnings (#2066)
Ushie Jul 29, 2024
4257c32
fix: `ExtendedFloatingActionButton` not accessible by screen readers …
TheAabedKhan Aug 6, 2024
32f2710
fix: Turn off filters by default (#2079)
TheAabedKhan Aug 6, 2024
edc11b6
ci: Actually enable caching of Gradle
validcube Aug 7, 2024
936a9ef
refactor: Add parameters for custom rotation values in `ArrowButton`
Ushie Aug 7, 2024
e869db0
fix: Move temporary files outside of the cache directory (#2122)
kitadai31 Aug 12, 2024
e992a99
fix: remove the unique constraint for patch bundle names
Axelen123 Aug 12, 2024
747017a
feat: Improve Settings order (#2060)
validcube Aug 15, 2024
edb4e42
feat: Improve patch bundle screen (#2070)
Ushie Aug 16, 2024
10e7e4b
feat: Open the app-specific manage all files permission dialog (#2148)
kitadai31 Aug 18, 2024
ace6701
🔮 Merge repository updated to latest snapshot!
validcube Aug 18, 2024
adf5f9f
docs: Pull change from ReVanced Branding
validcube Aug 18, 2024
a290369
docs: Pull change from ReVanced Manager Flutter
validcube Aug 18, 2024
db4ce6b
docs: Use correct asset directory
validcube Aug 18, 2024
3bbad15
part: 10 (1/?)
validcube Aug 18, 2024
05bf940
nitpicking on style
validcube Aug 18, 2024
2055400
feat: View bundle patches (#2065)
Ushie Aug 24, 2024
d201bdc
feat: Add installer status dialog (#1473)
oSumAtrIX Aug 29, 2024
f6f7238
feat(patcher): Improve installation (#2185)
aliernfrog Sep 19, 2024
697386c
fix: Match "Installation incompatible" dialog message with Flutter Ma…
kitadai31 Sep 30, 2024
8442bf2
🔮 Merge repository updated to latest snapshot!
validcube Oct 1, 2024
911201a
Signed off to switch branch
validcube Oct 17, 2024
b4c37e6
feat: Add haptic feedback (#1457)
BenjaminHalko Nov 6, 2024
cf32214
fix: only perform haptics on events
Axelen123 Nov 12, 2024
20c13ee
chore: update dependencies
Axelen123 Nov 13, 2024
0685479
feat: Make patch bundles list scrollable (#2322)
somnisomni Nov 22, 2024
5125084
docs: Merge valid suggestions from Copilot review
validcube Nov 24, 2024
50c46dc
docs(readme): Merge building to contributing section
validcube Nov 24, 2024
d987845
docs: Actually link to documentation
validcube Nov 24, 2024
31fb8b1
chore: Nitpick on misspelling of comment
validcube Nov 30, 2024
9dc716b
feat: switch to revanced api v4
Axelen123 Dec 12, 2024
2ec1c02
feat: Add downloader plugin system (#2041)
Axelen123 Dec 19, 2024
9916e4d
fix: Screen turns off while patching due to wrong WakeLock (#2147)
kitadai31 Dec 21, 2024
49f75f9
fix: process death resilience and account for android 11 bug (#2355)
Axelen123 Dec 22, 2024
8a20d8c
fix: contributors screen repository name
Axelen123 Dec 22, 2024
f9831d4
refactor: remove unnecessary function
Axelen123 Dec 23, 2024
5d3a81f
feat: switch to androidx.navigation (#2362)
Axelen123 Dec 23, 2024
cf3866f
fix: remove battery optimization notification if user grants the perm…
Axelen123 Dec 23, 2024
b81bd17
chore: add .kotlin to gitignore
Axelen123 Dec 23, 2024
9db3bd5
feat: Add confirm dialogs when toggling dangerous settings (#2072)
TheAabedKhan Dec 23, 2024
7644a74
feat: add required options screen (#2378)
Axelen123 Jan 3, 2025
fff1a41
refactor: use EventEffect for legacy import
Axelen123 Jan 4, 2025
0ab424b
fix: available updates dialog list item color
Axelen123 Jan 4, 2025
7433893
feat: Redesign the patches screen (#2381)
X1nto Jan 18, 2025
a762969
docs: Merge documentation from Flutter to Compose
validcube Jan 19, 2025
818dc09
build: Bump AGP to 8.8.0
validcube Jan 11, 2025
177b716
🔮 Merge repository updated to latest snapshot!
validcube Jan 19, 2025
4364f2e
Standardised download site
validcube Jan 19, 2025
04a2a78
Change wording to remove redundancy
validcube Jan 19, 2025
b0624a3
OOM error troubleshooting
validcube Jan 19, 2025
91e06cb
OOM error troubleshooting
validcube Jan 19, 2025
03c9168
Split to section
validcube Jan 19, 2025
6dfb2a2
Try or report
validcube Jan 19, 2025
44fc455
Add settings location
validcube Jan 19, 2025
2616576
grammartical corerct
validcube Jan 19, 2025
bec0d82
grammartical corerct
validcube Jan 19, 2025
5b790a8
Comfortable docs viewing
validcube Jan 19, 2025
6598db5
Update Manager guide!!
validcube Jan 27, 2025
617481f
End of section
validcube Jan 27, 2025
d1ef14a
format
validcube Jan 27, 2025
802330c
Verification step
validcube Jan 27, 2025
1c6a9db
Developer - Transparency
validcube Jan 27, 2025
a53a0bd
Comfortable docs edit viewing
validcube Jan 27, 2025
8f9ea54
Update ref
validcube Jan 27, 2025
db304a7
Merge suggestions from Copilot
validcube Jan 27, 2025
d3748cf
Easily distinguishness
validcube Jan 27, 2025
91f6672
Add linkj
validcube Jan 27, 2025
5993dc3
Add manage app
validcube Jan 27, 2025
046179d
Remove copy-pasta
validcube Jan 27, 2025
351e00c
format
validcube Jan 27, 2025
d47819c
Update docs/developer/3_verifying.md
validcube Jan 28, 2025
15cfeb6
Update docs/0_prerequisites.md
validcube Jan 29, 2025
0eee869
Update docs/2_4_settings.md
validcube Jan 29, 2025
b9401b5
Update docs/3_troubleshooting.md
validcube Jan 29, 2025
c2a942b
Update docs/2_4_settings.md
validcube Jan 29, 2025
8731e72
Fix grammar in GitHub Registry section
validcube Feb 19, 2025
a5d09b2
Consolidate optional root device requirements in docs
validcube Feb 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
120 changes: 0 additions & 120 deletions .github/ISSUE_TEMPLATE/bug-issue.yml

This file was deleted.

1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/config.yml

This file was deleted.

52 changes: 0 additions & 52 deletions .github/ISSUE_TEMPLATE/feature-issue.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/config.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
firstPRMergeComment: >
Thank you for contributing to ReVanced. Join us on [Discord](https://revanced.app/discord) if you want to receive a contributor role.
❤️ Thank you for contributing to ReVanced Manager. Join us on [Discord](https://revanced.app/discord) if you want to receive a contributor role.
38 changes: 0 additions & 38 deletions .github/workflows/analyze.yml

This file was deleted.

58 changes: 30 additions & 28 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
@@ -1,45 +1,47 @@
name: PR Build
name: Build pull request

on:
pull_request:
paths:
paths:
- ".github/workflows/pr-build.yml"
- "android/**"
- "assets/**"
- "lib/**"

- "app/**"
- "gradle/**"
- "*.properties"
- ".kts"

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
# Make sure the release step uses its own credentials:
# https://github.com/cycjimmy/semantic-release-action#private-packages
persist-credentials: false
fetch-depth: 0
- name: Setup JDK
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'zulu'
- name: Setup Flutter
uses: subosito/flutter-action@v2
uses: actions/checkout@v4

- name: Set up cache
uses: actions/cache@v3
with:
channel: 'stable'
cache: true
- name: Install Flutter dependencies
run: flutter pub get
- name: Generate files with Builder
run: flutter packages pub run build_runner build --delete-conflicting-outputs
- name: Build with Flutter
path: |
${{ runner.home }}/.gradle/caches
${{ runner.home }}/.gradle/wrapper
.gradle
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}

- name: Set up Java
run: echo "JAVA_HOME=$JAVA_HOME_17_X64" >> $GITHUB_ENV

- name: Build with Gradle
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: flutter build apk --debug
run: ./gradlew assembleRelease --no-daemon -PnoProguard -PsignAsDebug

- name: Set env
run: echo "COMMIT_HASH=$(git rev-parse --short HEAD)" >> $GITHUB_ENV

- name: Add hash to APK
run: mv app/build/outputs/apk/release/app-release.apk revanced-manager-${{ env.COMMIT_HASH }}.apk

- name: Upload build
uses: actions/upload-artifact@v3
with:
name: revanced-manager
path: build/app/outputs/flutter-apk/app-debug.apk
path: revanced-manager-${{ env.COMMIT_HASH }}.apk
39 changes: 16 additions & 23 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
@@ -1,50 +1,43 @@
name: "Release Build"
name: Release Build

on:
push:
tags:
- "v*"

jobs:
release:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: "11"
distribution: "zulu"
- uses: subosito/flutter-action@v2
with:
channel: "stable"
- name: Set up Flutter
run: flutter pub get
- name: Generate files with Builder
run: flutter packages pub run build_runner build --delete-conflicting-outputs
- name: Build with Flutter

- name: Set up Java
run: echo "JAVA_HOME=$JAVA_HOME_17_X64" >> $GITHUB_ENV

- name: Build with Gradle
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_KEYSTORE_PASSWORD }}
run: flutter build apk
run: ./gradlew assembleRelease --no-daemon

- name: Sign APK
id: sign_apk
uses: ilharp/sign-android-release@v1
with:
releaseDir: build/app/outputs/apk/release
releaseDir: ./app/build/outputs/apk/release/
signingKey: ${{ secrets.SIGNING_KEYSTORE }}
keyStorePassword: ${{ secrets.SIGNING_KEYSTORE_PASSWORD }}
keyAlias: ${{ secrets.SIGNING_KEY_ALIAS }}
keyPassword: ${{ secrets.SIGNING_KEY_PASSWORD }}

- name: Add version to APK
run: mv ${{steps.sign_apk.outputs.signedFile}} revanced-manager-${{ env.RELEASE_VERSION }}.apk
run: mv ${{ steps.sign_apk.outputs.signedFile }} revanced-manager-${{ env.RELEASE_VERSION }}.apk

- name: Publish release APK
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: revanced-manager-${{ env.RELEASE_VERSION }}.apk
files: revanced-manager-${{ env.RELEASE_VERSION }}.apk
Loading