Skip to content

Commit 4b002e5

Browse files
authored
Merge pull request #1600 from RoboSats/prepare-for-f-droid
Prepare release for F-Droid
2 parents db37ab7 + 1ee228d commit 4b002e5

File tree

8 files changed

+6
-45
lines changed

8 files changed

+6
-45
lines changed

.github/workflows/android-build.yml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -132,14 +132,6 @@ jobs:
132132
name: robosats-${{ inputs.semver }}-x86_64.apk
133133
path: mobile/android/app/build/outputs/apk/release/app-x86_64-release.apk
134134

135-
# Create app-x86-release APK artifact asset for Release
136-
- name: 'Upload x86 .apk Release Artifact (for Release)'
137-
uses: actions/upload-artifact@v4
138-
if: inputs.semver != '' # If this workflow is called from release.yml
139-
with:
140-
name: robosats-${{ inputs.semver }}-x86.apk
141-
path: mobile/android/app/build/outputs/apk/release/app-x86-release.apk
142-
143135
- name: 'Create Pre-release'
144136
id: create_release
145137
if: inputs.semver == '' # only if this workflow is not called from a push to tag (a Release)
@@ -200,16 +192,3 @@ jobs:
200192
asset_path: ./mobile/android/app/build/outputs/apk/release/app-x86_64-release.apk
201193
asset_name: robosats-${{ steps.commit.outputs.short }}-x86_64.apk
202194
asset_content_type: application/apk
203-
204-
# Upload x86 APK to pre-release
205-
- name: 'Upload x86 Pre-release APK Asset'
206-
id: upload-release-x86-apk-asset
207-
if: inputs.semver == '' # only if this workflow is not called from a push to tag (a Release)
208-
uses: actions/upload-release-asset@v1
209-
env:
210-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
211-
with:
212-
upload_url: ${{ steps.create_release.outputs.upload_url }}
213-
asset_path: ./mobile/android/app/build/outputs/apk/release/app-x86-release.apk
214-
asset_name: robosats-${{ steps.commit.outputs.short }}-x86.apk
215-
asset_content_type: application/apk

.github/workflows/release.yml

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
secrets: inherit
7575
with:
7676
semver: ${{ needs.check-versions.outputs.semver }}
77-
77+
7878
desktop-build:
7979
uses: RoboSats/robosats/.github/workflows/desktop-build.yml@main
8080
needs: [frontend-build, check-versions]
@@ -163,29 +163,12 @@ jobs:
163163
asset_name: robosats-${{ needs.check-versions.outputs.semver }}-x86_64.apk
164164
asset_content_type: application/apk
165165

166-
# Upload app-x86-release APK artifact asset
167-
- name: 'Download x86 APK Artifact'
168-
uses: actions/download-artifact@v4
169-
with:
170-
name: robosats-${{ needs.check-versions.outputs.semver }}-x86.apk
171-
path: .
172-
- name: 'Upload x86 APK Asset'
173-
id: upload-x86-release-asset
174-
uses: actions/upload-release-asset@v1
175-
env:
176-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
177-
with:
178-
upload_url: ${{ steps.create-release.outputs.upload_url }}
179-
asset_path: app-x86-release.apk
180-
asset_name: robosats-${{ needs.check-versions.outputs.semver }}-x86.apk
181-
asset_content_type: application/apk
182-
183166
- name: 'Download macOS Build Artifact'
184167
uses: actions/download-artifact@v4
185168
with:
186169
name: robosats-desktop-${{ needs.check-versions.outputs.semver }}-mac-darwin-x64.zip
187170
path: .
188-
171+
189172
- name: 'Upload macOS Build Artifact'
190173
id: upload-release-mac-zip-asset
191174
uses: actions/upload-release-asset@v1
@@ -219,7 +202,7 @@ jobs:
219202
with:
220203
name: robosats-desktop-${{ needs.check-versions.outputs.semver }}-win32-ia32.zip
221204
path: .
222-
205+
223206
- name: 'Upload Windows Build Artifact'
224207
id: upload-release-win-zip-asset
225208
uses: actions/upload-release-asset@v1

mobile/android/app/build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def enableHermes = project.ext.react.get("enableHermes", false);
124124
*/
125125
def reactNativeArchitectures() {
126126
def value = project.getProperties().get("reactNativeArchitectures")
127-
return value ? value.split(",") : ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"]
127+
return value ? value.split(",") : ["armeabi-v7a", "x86_64", "arm64-v8a"]
128128
}
129129

130130
android {
@@ -144,7 +144,6 @@ android {
144144
pickFirst 'lib/armeabi-v7a/libruntimeexecutor.so'
145145
pickFirst 'lib/arm64-v8a/libruntimeexecutor.so'
146146
pickFirst 'lib/x86_64/libruntimeexecutor.so'
147-
pickFirst 'lib/x86/libruntimeexecutor.so'
148147
}
149148

150149
defaultConfig {
@@ -264,7 +263,7 @@ android {
264263
// For each separate APK per architecture, set a unique version code as described here:
265264
// https://developer.android.com/studio/build/configure-apk-splits.html
266265
// Example: versionCode 1 will generate 1001 for armeabi-v7a, 1002 for x86, etc.
267-
def versionCodes = ["armeabi-v7a": 1, "x86": 2, "arm64-v8a": 3, "x86_64": 4]
266+
def versionCodes = ["armeabi-v7a": 1, "arm64-v8a": 3, "x86_64": 4]
268267
def abi = output.getFilter(OutputFile.ABI)
269268
if (abi != null) { // null for the universal-debug, universal-release variants
270269
output.versionCodeOverride =
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

mobile/android/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ android.enableJetifier=true
2727
# Use this property to specify which architecture you want to build.
2828
# You can also override it from the CLI using
2929
# ./gradlew <task> -PreactNativeArchitectures=x86_64
30-
reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
30+
reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86_64
3131

3232
# Use this property to enable support to the new architecture.
3333
# This will allow you to use TurboModules and the Fabric render in

0 commit comments

Comments
 (0)