mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-11 19:24:10 +01:00
30d874e859
Bamboo does not preserve git repository origin when making builds, and it is shown later in About dialog as "Built from None". This patch fixes that providing more accurate source description.
26 lines
1020 B
Smarty
26 lines
1020 B
Smarty
#
|
|
# *****************************************************************************
|
|
#
|
|
# @file ${OUTFILENAME}
|
|
# @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2011.
|
|
# @brief Autogenerated NSIS header file, built using template
|
|
# ${TEMPLATE}
|
|
#
|
|
# @see The GNU Public License (GPL) Version 3
|
|
#
|
|
# *****************************************************************************
|
|
#
|
|
|
|
; Some names, paths and constants
|
|
!define PACKAGE_LBL "${PACKAGE_LBL}"
|
|
!define PACKAGE_NAME "${PACKAGE_NAME}"
|
|
!define PACKAGE_SEP "${PACKAGE_SEP}"
|
|
!define PACKAGE_DIR "..\..\build\package-$${PACKAGE_LBL}"
|
|
!define FIRMWARE_DIR "firmware-$${PACKAGE_LBL}"
|
|
!define OUT_FILE "$${PACKAGE_NAME}$${PACKAGE_SEP}$${PACKAGE_LBL}$${PACKAGE_SEP}win32.exe"
|
|
|
|
; Installer version info
|
|
!define PRODUCT_VERSION "0.0.0.0"
|
|
!define FILE_VERSION "${TAG_OR_BRANCH}:${HASH8}${DIRTY} ${DATETIME}"
|
|
!define BUILD_DESCRIPTION "${PACKAGE_LBL} built from ${ORIGIN}, committed ${DATETIME} as ${HASH}"
|