The Gitlab server is succesfully updated to version 14.4.0

Many users are receiving emails regarding excessive amounts of log-in attempts, which are brute-force attempts to crack your password. We are working on a 2FA solution, so no action is needed yet. If you receive emails regarding "sign-in from new location", please check the IP address and if unknown, notify frza@dtu.dk immediately.

Commit b69cf77c authored by Mads M. Pedersen's avatar Mads M. Pedersen
Browse files
parents b860ea83 3a2bda15
MODULE BuildInfo
IMPLICIT NONE
!
type tbuildinfo
character*255 :: git_tag = ""
character*255 :: builder = ""
character*255 :: computer_name = ""
character*255 :: build_time = ""
character*255 :: build_date = ""
end type
!
CONTAINS
!
SUBROUTINE BuildInfo_initialise(b)
type (tbuildinfo) :: b
!
include 'version.inc'
END SUBROUTINE
!
SUBROUTINE BuildInfo_echo(b,fin)
type (tbuildinfo) :: b
integer, optional :: fin
integer :: fid
!
if (present(fin)) then
fid = fin
else
fid = 6 ! use stdout if not specified in input
endif
!
WRITE(fid,*) "***********************************************************************"
WRITE(fid,*) "* Build information for HAWC2MB.exe (GIT)"
!DEC$ IF DEFINED(_WIN32)
!DEC$ IF DEFINED(_M_X64)
WRITE(fid,*) "* WINDOWS 64-bit"
!DEC$ ELSE
WRITE(fid,*) "* WINDOWS 32-bit"
!DEC$ ENDIF
!DEC$ ENDIF
!DEC$ IF DEFINED(_DEBUG)
WRITE(fid,*) "* DEBUG version"
!DEC$ ENDIF
!DEC$ IF DEFINED(CLUSTER)
WRITE(fid,*) "* CLUSTER version"
!DEC$ ENDIF
WRITE(fid,*) "***********************************************************************"
WRITE(fid,*) "* GIT-TAG = ", trim(b%git_tag)
WRITE(fid,*) "* BUILDER = ", trim(b%builder)
WRITE(fid,*) "* COMPUTER_NAME = ", trim(b%computer_name)
WRITE(fid,*) "* BUILD_TIME = ", trim(b%build_time)
WRITE(fid,*) "* BUILD_DATE = ", trim(b%build_date)
WRITE(fid,*) "***********************************************************************"
!
END SUBROUTINE
!
END MODULE
@echo off
pushd %~dp0
for /f %%i in ('git describe --tags --dirty --always') do set GIT_ID=%%i
for /f %%i in ('git tag') do set GIT_VERSION=%%i
set psign=%%
echo b%psign%git_tag = "%GIT_ID%" > version.inc
echo b%psign%builder = "%USERNAME%" >> version.inc
echo b%psign%computer_name= "%COMPUTERNAME%" >> version.inc
echo b%psign%build_time = "%TIME%" >> version.inc
echo b%psign%build_date = "%DATE%" >> version.inc
REM
set S=#define GIT_ID "%GIT_ID%"
echo %S% > git_version.h
set GIT_VERSION=%GIT_VERSION: =%
echo %GIT_ID%
echo %GIT_VERSION%
IF not "%GIT_ID%"=="%GIT_VERSION%" (
set GIT_VERSION=%GIT_VERSION%,-1
)
set S=#define GIT_VERSION %GIT_VERSION:.=,%
echo %S% >> git_version.h
type version.inc
echo ----------------------
type git_version.h
popd
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by version.rc
//
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 101
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1000
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif
// Microsoft Visual C++ generated resource script.
//
#include "version.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "winres.h"
#include "winver.h"
#include "git_version.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION GIT_VERSION
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x0L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040604b0"
BEGIN
VALUE "CompanyName", "DTU Wind Energy"
VALUE "FileDescription", "Aeroelastic tool HAWC2MB.exe"
VALUE "InternalName", "HAWC2MB"
VALUE "LegalCopyright", "DTU Wind Energy"
VALUE "OriginalFilename", "HAWC2MB.exe"
VALUE "ProductName", "HAWC2"
VALUE "FileVersion", GIT_ID
VALUE "ProductVersion", GIT_ID
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x406, 1200
END
END
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment