Skip to content
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

Build release action #2219

Merged
merged 15 commits into from
Aug 3, 2024
Merged

Conversation

Kaiserdragon2
Copy link
Collaborator

This adds two workflows:

  1. Build debug apks and upload as artifacts can be triggered manually
  2. Build Release apks and create a Release with Release Notes Image and Assets

For the signing of the APK to work you need to create these secreats
image

The KEYSTORE holds your .keystore/arcticonskeystore.jks file as base64 encoding
On linux you can convert it like this base64 -w 0 arcticonskeystore.jks > key.txt
The KEY_ALIAS holds the name of the key to sign the apks
The KEYSTORE_PASSWORD holds the password to access the keystore
And the KEY_PASSWORD holds the password for the key

To test if it works correctly you can run the debug apk workflow and check the output for errors
if it runs successfully you can download the artifact and check if the apks are signed with your key
Therefore you can use https://f-droid.org/packages/com.smartpack.packagemanager/

How to create a new release

  1. Have everything ready as you normally would have (version in gradle and so on)
  2. place the realease Image in generated/realeaseImage.jpg
  3. edit the changlog.md (The release notes you would normally write on GitHub)
  4. edit the releaseName.txt (single line only)
  5. Commit everything
  6. Create a new Tag and push it
  7. the workflow will create a Release with your release notes append the image and the generate the automated release notes upload the assets and start a discussion in announcements.

@Donnnno
Copy link
Collaborator

Donnnno commented Jul 27, 2024

WOW! Thanks for this setup, amazing really ✨
Gonna take a better look at it tomorrow hopefully!

@Donnnno Donnnno merged commit c76663f into Arcticons-Team:main Aug 3, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use GitHub to build APKs for releases, instead of me on my local pc
2 participants