Commit Graph

49 Commits

Author SHA1 Message Date
f321x 7adc833f21 contrib: check for unsigned apk in release.sh
release.sh expects signed apks. if a non-releasemanager uses
release.sh to build it will build the apks unsigned and then
rename them to the same name as the signed apks. However
if the apks have already been built separately and are still named
*-unsigned.apk it will not detect them and instead try to build them
again. Instead it should just rename them to *-release.apk as if built
directly through release.sh.
2026-04-02 13:49:32 +02:00
SomberNight 4a0a3bb38a contrib: shell scripts: add quotes around more variables 2025-09-02 17:33:06 +00:00
SomberNight 01694a363b contrib/release.sh: add small comment re git tags 2025-08-05 14:02:23 +00:00
f321x bffc00672a release.sh: better support 3rd party signers
adds binary downloading from website if the specified signer is not one
of the two hardcoded signers with sftp access to the airlock server.
This makes it easier for other signers to run the script and create
signatures for spesmilo/electrum-signatures.
2025-06-13 18:06:32 +02:00
ThomasV 440c1e91a0 release script: set+x before printing info messages 2025-06-13 09:01:53 +02:00
SomberNight c96ac892c3 version.py: rm APK_VERSION
related: https://github.com/spesmilo/electrum/issues/9210#issuecomment-2376572832
2024-09-30 16:08:18 +00:00
SomberNight c5ac0b341f release.sh: print warning on unexpected arg value
I keep mixing up sombernight and sombernight_releasekey.
2024-05-30 12:54:00 +00:00
SomberNight e08302ac4a release.sh: fix missing android apk names
follow-up e441d4b15e

These are used later in the script.
2023-12-18 18:17:26 +00:00
SomberNight 51bc23c92f build scripts: (trivial) add quotes around some shell variables 2023-12-18 18:15:33 +00:00
SomberNight 5f309e95c8 release.sh: don't hardcode ".0" suffix in APK_VERSION
does not work with current beta:
```
d142c5534f4da4a7f0a1f52676716908f674ff9e06b87f7b153384b161296eaf  /home/user/wspace/electrum/contrib/android/../../dist/Electrum-4.5.0.0-armeabi-v7a-release-unsigned.apk
+ mv dist/Electrum-4.5.0b0.0-armeabi-v7a-release-unsigned.apk dist/Electrum-4.5.0b0.0-armeabi-v7a-release.apk
mv: cannot stat 'dist/Electrum-4.5.0b0.0-armeabi-v7a-release-unsigned.apk': No such file or directory
```
2023-12-13 17:21:33 +00:00
ThomasV e441d4b15e release-sh: build each android apk separately
this triggers a cleanup of the fresh clone directory
2023-11-30 17:56:59 +01:00
SomberNight 155258f208 release.sh: check we have each binary (RM case)
~duplicated from the non-RM case
2023-04-27 17:36:09 +00:00
SomberNight f53522f0c9 release: also build android apk for x86_64 arch
related: f9f57b58b4

(note: this should be enough to put the apk onto download.electrum.org,
but it is not yet linked from the main website)
2023-03-24 10:47:50 +00:00
SomberNight ee380bb747 release.sh: use qml gui for android release apk 2023-03-23 15:08:58 +00:00
SomberNight 4f66afb8a8 refactor locale scripts
follow-up 000a3de571
2023-01-30 17:35:58 +00:00
SomberNight 497267bd34 release process: don't create "uploaded" marker file in release.sh
No longer needed with the "chmod 444 *" trick in 697c700a1f.
(it is now cheap to re-run upload.sh, it no longer redundantly re-uploads hundreds of MBs)
2023-01-27 11:03:31 +00:00
SomberNight 563180c94c build: scripts to not require electrum to be installed 2023-01-26 18:15:04 +00:00
SomberNight 697c700a1f release process: split release.sh into two
This allows the add_cosigner workflow to be done before the website links to new binaries.
(so Emzy or other builders can try to reproduce builds and add signatures before new binaries are fully live)
2023-01-26 13:49:51 +00:00
SomberNight 54f3446c1d release.sh: (trivial) add details re how to git tag 2023-01-02 15:45:24 +00:00
ThomasV dc78ba3c04 android: pass keystore password as argument to make_apk.
export does not work because it runs in a container.

also, check password using keytool
2022-09-28 09:32:01 +02:00
SomberNight b5900eae98 contrib: reformat most shell scripts
Mostly just indentations.
For consistency, to conform to .editorconfig.
2022-09-27 14:55:22 +00:00
SomberNight 1cecd2c6e8 contrib: rename some shell scripts to have ".sh" extension
The extension gives formatting hints to some editors. (especially if they support .editorconfig)
2022-09-27 13:34:03 +00:00
SomberNight f174b9164c build scripts: minor formatting clean-up
follow-up f8f77c14a2
2022-09-27 13:25:11 +00:00
ThomasV f8f77c14a2 release.sh: store signing password 2022-09-27 14:48:12 +02:00
SomberNight d0de44a794 build: also build a "source-only" linux-packager-friendly tarball
We now distribute two tarballs, a "normal" one (the default, recommended for users),
and a new strictly source-only one (for Linux distro packagers).
The normal tarball, in addition to including everything from
the source-only one, also includes:
- compiled (`.mo`) locale files (in addition to source `.po` locale files)
- compiled (`_pb2.py`) protobuf files (in addition to source `.proto` files)
- the `packages/` folder containing source-only pure-python runtime dependencies

merges https://github.com/spesmilo/electrum/pull/7594
with follow-ups
2022-08-16 17:28:41 +00:00
SomberNight 7d36f2ba3a build: follow-up source-only tarballs 2022-08-16 17:23:08 +00:00
yanmaani 9a37184a57 build: create source-only tarball in release.sh 2022-08-15 12:00:00 +00:00
SomberNight 787dd69282 win build: clear $CONTRIB_WINE/dist between builds 2022-08-05 17:53:20 +02:00
ThomasV 7cf495d1e0 Windows build scripts: Read codesign passphrase. Lazy check if unsigned binaries are there. 2022-05-27 11:07:32 +02:00
SomberNight 2c5eb26ff0 contrib/release.sh: fix some paths re android apk 2022-03-15 20:00:43 +01:00
ThomasV d91a4da557 Add Qt5/QML building framework to contrib/android:
- update requirements file for building PyQt5
 - use separate .buildozer directories for qml and Kivy
 - add GUI and ARCH parameters to android/build.sh
2022-03-08 17:21:31 +01:00
SomberNight d35a68d2d1 release.sh: fix bugs discovered during last release 2021-07-19 21:48:47 +02:00
SomberNight 9f82dc07f2 release.sh: dmg is now reproducible as well 2021-07-19 17:22:55 +02:00
SomberNight e54e6e4e09 build: extend release.sh so that all builders can use it 2021-06-21 19:29:56 +02:00
SomberNight 9d46fe775a build: try to consolidate instructions and decr codedupe in release.sh 2021-06-18 17:10:15 +02:00
SomberNight 91c913dc0b build/release.sh: add some comments 2021-06-18 16:29:13 +02:00
SomberNight 47ebc49c4c (trivial) build/release.sh: convert indents to spaces
was mixed tabs/spaces
2021-06-18 16:29:08 +02:00
SomberNight 3df1c3bbf7 build: rename some scripts
also, merge sdist/build.sh and sdist/make_tgz into sdist/make_sdist.sh
2021-06-18 16:29:03 +02:00
SomberNight 0842f4977b build: fresh_clone: turns out we can just clone from a local dir :P
this saves us some network requests, and reduces trust in github
2021-06-18 16:28:58 +02:00
SomberNight 5ae167d67d android build: place binaries in ./dist/ instead of ./bin/
Let's try to consolidate and have all build scripts put binaries into ./dist/
2021-06-18 16:28:52 +02:00
ThomasV 9625798a63 release script: follow-up prev commit 2021-06-17 15:02:07 +02:00
ThomasV 9c1a8d7f65 release.sh: fix path for android builds 2021-06-17 12:15:09 +02:00
SomberNight 52fc2f5adb release.sh: make sure correct commit is checked out 2021-06-17 12:05:40 +02:00
ThomasV 4dc7f4d331 release script: call build_docker_image.sh 2021-06-10 14:40:46 +00:00
ThomasV 8788b64504 Update release script with APK fresh clone instruction. Add android/fresh_clone to gitignore 2021-06-10 14:30:17 +00:00
ThomasV 7789497140 release script: add username to signature file, upload files into airlock. 2021-04-30 10:27:33 +00:00
ThomasV 2b05615995 Do not perform webserver update from release script.
(see publish.sh and deploy.sh in the electrum-web repo)
2021-04-28 12:37:15 +00:00
ThomasV debe5cf03a release script: add hash comparison step before uploading 2021-04-02 18:24:12 +02:00
ThomasV 30d9e6a964 add contrib/release.sh script 2021-04-02 17:19:56 +02:00