YunoHost-Apps / cinny_ynh

Cinny package for Yunohost (Matrix client)
GNU General Public License v3.0
2 stars 2 forks source link

Use Github workflow to build YNH package supporting custom path #75

Open oleole39 opened 3 weeks ago

oleole39 commented 3 weeks ago

Problem

Custom path install not supported with current cinny_ynh version

Solution

Use github workflow to build a specific package supporting YNH custom path install.

  1. Merge this PR on testing
  2. A first release has to be created using workflow triggered on every push to testing branch. It will create a draft release at https://github.com/YunoHost-Apps/cinny_ynh/releases where sample versioning/text should be corrected and then published.
  3. add path & SHA sum corresponding that that first release in the manifest
  4. merge PR to master
  5. you may want to disable manually the workflow triggered on every push to testing branch, to enable it only when needed. The main workflow is triggered everytime it detects a PR from yunohost-bot mentioning an upgrade available (based on manifest autoupdate's strategy).
  6. For each new upgrade PR by yunohost-bot, BEFORE merging the latter, the draft release automatically created by the workflow will have to be published manually, and source ynh_build (URL and SHA sum) has to be replaced manually in the manifest.

PR Status

Notes: