Skip to content

Snapshots and Releases

Chris H edited this page Jun 28, 2024 · 7 revisions

Snapshots

Currently (as of Dec 2023), Desktop and Android snapshots have been automated via GithubActions.

You can see the workflows here. Create Android Snapshot Create Desktop Snapshot

These run daily at around 2pm ET time for people looking for them. The upload scripts should take care of removing the previous files uploaded on the last run. If necessary, you can run these scripts manually. Occassionally these builds fail to upload due to unclear reasons. Retrying the snapshot usually seems to fix the issue.

The latest daily snapshots can be found here.

Releases

Currently (as of Dec 2023), Desktop releases run an automated script with a few manual pieces.

Currently (as of Dec 4, 2023), Android releases are not run. Although, hopefully with the Android snapshot now automated we'll be able to get back to getting a full release for Android as well.

Desktop Release Process

It would be useful for other people to be comfortable with the release process. Currently, GitHub has the secrets required to add a snapshot or full release, so it's mostly just running through the steps below to kick off and validate a release.

  1. Run Build
  1. Verify
  • After it completes, download the finished package. Extract it and do a quick verification that it works.
  1. For snapshot updates, a few files currently need manual updates. Check out this PR for an example: https://github.com/Card-Forge/forge/pull/4293/files (Hopefully in the next few iterations, we'll have this automated during the release)
  • forge-gui-desktop/pom.xml
  • fromRef
  • forge-gui-android/AndroidManifest.xml
  • android::versionCode
  • android::versionName
  • forge-gui-android/pom.xml
  • alpha-version
  • forge-gui-mobile/src/forge/Forge.java
  • CURRENT_VERSION
  1. Merge
  • Create a PR from your branch and get it merged as quickly as you can (ideally before other PRs are merged).
  • Create a new release from https://github.com/Card-Forge/forge/releases
  • Upload the package and its sha to the create new release page
  1. Marketing
  • Advertise in the #announcements channel in the Discord
Clone this wiki locally