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

How to provide current build outputs of current geneweb/master branch ? #1762

Open
michelmno opened this issue Apr 5, 2024 · 1 comment
Open

Comments

@michelmno
Copy link
Contributor

How to provide current build outputs of current geneweb/master branch ?

It would be interesting to deliver in Release page (https://github.com/geneweb/geneweb/releases)
the build outputs of geneweb/master branch each time a new PR is merged in it.

This would avoid users to wait for 'official' release delivery for test purpose (last one is v7.0.1-alpha2 dated August 2023 !

@michelmno
Copy link
Contributor Author

As a quick and dirty solution in my own fork:

$diff -u .github/workflows/release.yml  .github/workflows/masterbuild.yml 
--- .github/workflows/release.yml	2024-04-07 06:01:26.792224916 +0200
+++ .github/workflows/masterbuild.yml	2024-04-07 08:33:07.327890890 +0200
@@ -1,9 +1,9 @@
-name: release
+name: master build
 
 on:
   push:
-    tags:
-      - v**
+    branches:
+      - master_**
 
 jobs:
  • This yaml script is triggering the build and save build outputs in Release of my fork.
    https://github.com/michelmno/geneweb/releases/tag/master_20240405
  • any users may grab related zip and install geneweb from there, after installation the source of the build is correctly reported and git url correctly set as per notifications at bottom of following image
    Capture d’écran du 2024-04-07 09-22-53

Advantage of this solution:

  • do not need to be admin in geneweb, only need to fork and manage in your own fork.
    Cont:
  • duplication of yaml
  • multiple sources of released packages.

Any comments welcome.

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

No branches or pull requests

1 participant