Re: Release process

Gary Buhrmaster <[email protected]> Tue, 19 Apr 2022 17:32:54 +0000
Newsgroups gmane.comp.tv.xmltv.devel
Message-ID <CAMfXtQzxOCf7+QwUJXpqWxf0aZinb1N_eq8nWGYpQaqCDxFnPg@mail.gmail.com>
On Tue, Apr 19, 2022 at 2:57 PM Robert Eden <[email protected]> wrote:

> I think the automatic releases should maybe say "nightly" maybe with a
> date based version... to differentiate them from "official" releases..
> at least for now.  Is that possible?

There are two parts there, the artifact name itself
(currently called simply xmltv, and is the name of
the zip file that you download), and the exe file
inside the artifact zip file (currently called xmltv.exe).

Those names should be able to be anything that
makes sense and can be appropriately derived
in the workflow (or fixed, such as something like
"Windows XMLTV EXE" for the artifact name,
and "xmltv-testing.exe" for the exe name, or
one could include dates in the exe name, for
example).

I have no particular preference ("That which we
call a rose by any other name would smell as
sweet").

Recommendations?  Or, since you are the
Windows expert, you could just commit the
change to .github/workflows/build.yml
yourself?

Sample change to fixed values, the
artifact name (i.e. the zip file) will be
called Windows EXE and the program
inside will be xmltv-testing.exe (untested
sample; caveat emptor).

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 30bdb0d..70aaa46 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -305,13 +305,13 @@ jobs:
         if: github.event_name == 'push'

       - name: Copy Windows EXE
-        run: copy xmltv.exe artifacts/xmltv.exe
+        run: copy xmltv.exe artifacts/xmltv-testing.exe
         if: github.event_name == 'push'

       - name: Upload xmltv
         uses: actions/upload-artifact@v2
         with:
-          name: xmltv
+          name: Windows EXE
           path: artifacts
           retention-days: 15
         if: github.event_name == 'push'