[Openvpn-devel] [PATCH] msvc: add branch name and commit hash to version output

2022-09-22 Thread Lev Stipakov
From: Lev Stipakov Add a simple python script which generates header with branch name and commit hash #defines. While on it, fix filename in msvc-generate.vcxproj and add proper copyright header to Makefile.mak. Signed-off-by: Lev Stipakov --- build/msvc/msvc-generate/Makefile.mak |

[Openvpn-devel] [PATCH release/2.5] msvc: add branch name and commit hash to version output

2022-09-22 Thread Lev Stipakov
From: Lev Stipakov Add a simple python script which generates header with branch name and commit hash #defines. While on it, fix filename in msvc-generate.vcxproj and add proper copyright header to Makefile.mak. Signed-off-by: Lev Stipakov --- build/msvc/msvc-generate/Makefile.mak |

Re: [Openvpn-devel] [PATCH release/2.5] msvc: add branch name and commit hash to version output

2022-09-22 Thread Selva Nair
Hi, On Thu, Sep 22, 2022 at 8:59 AM Lev Stipakov wrote: > From: Lev Stipakov > > Add a simple python script which generates header with > branch name and commit hash #defines. > > While on it, fix filename in msvc-generate.vcxproj > and add proper copyright header to Makefile.mak. > >

[Openvpn-devel] [PATCH v2 release/2.5] msvc: add branch name and commit hash to version output

2022-09-22 Thread Lev Stipakov
From: Lev Stipakov Add a simple python script which generates header with branch name and commit hash #defines. While on it, fix filename in msvc-generate.vcxproj and add proper copyright header to Makefile.mak. Signed-off-by: Lev Stipakov --- v2: - fix copyright year 2002 -> 2022 -

[Openvpn-devel] [PATCH] msvc: add branch name and commit hash to version output

2022-09-22 Thread Lev Stipakov
From: Lev Stipakov Add a simple python script which generates header with branch name and commit hash #defines. While on it, fix filename in msvc-generate.vcxproj and add proper copyright header to Makefile.mak. Signed-off-by: Lev Stipakov --- v2: - fix copyright year 2002 -> 2022 -

Re: [Openvpn-devel] [PATCH release/2.5] msvc: add branch name and commit hash to version output

2022-09-22 Thread Lev Stipakov
Hi, I've sent v2 with copyright year and "not-a-git" -> "unknown" fix. (I forgot to name master patch to PATCH v2) Yes, when doing releases we do git checkout. I have tested MSI installers produced by openvpn-build GitHub automation, which uses the same script (build-and-package.ps1) which

Re: [Openvpn-devel] [PATCH] msvc: add branch name and commit hash to version output

2022-09-22 Thread Selva Nair
Hi, On Thu, Sep 22, 2022 at 10:39 AM Lev Stipakov wrote: > From: Lev Stipakov > > Add a simple python script which generates header with > branch name and commit hash #defines. > > While on it, fix filename in msvc-generate.vcxproj > and add proper copyright header to Makefile.mak. > >