mirror of
https://gitlab.freedesktop.org/dabrain34/GstPipelineStudio.git
synced 2024-11-21 16:41:03 +00:00
installers: add VERSION file
This commit is contained in:
parent
dd4700eb11
commit
40e999f7d1
3 changed files with 7 additions and 8 deletions
1
VERSION
Normal file
1
VERSION
Normal file
|
@ -0,0 +1 @@
|
|||
0.3.1
|
|
@ -16,7 +16,7 @@ test_ok() {
|
|||
BUILD_DIR=builddir
|
||||
PROJECTDIR="$( cd "$(dirname "$0")/../" ; pwd -P )"
|
||||
TARGETDIR="${PROJECTDIR}/${BUILD_DIR}/INSTALL_GPS"
|
||||
VERSION="$(git describe --always --abbrev=0)"
|
||||
VERSION="$(cat VERSION)"
|
||||
export VERSION
|
||||
echo "VERSION=$VERSION"
|
||||
|
||||
|
@ -171,8 +171,8 @@ fi
|
|||
echo "make macos installer(.dmg)......"
|
||||
cp "${PROJECTDIR}/macos/installers/dmg.json" gps_dmg.json
|
||||
cp "${PROJECTDIR}/macos/installers/background.png" "${PROJECTDIR}/${BUILD_DIR}/gps_dmg_background.png"
|
||||
rm -f ${PROJECTDIR}/GstPipelineStudio-${VERSION}-macos.dmg
|
||||
appdmg gps_dmg.json "${PROJECTDIR}/GstPipelineStudio-${VERSION}-macos.dmg"
|
||||
rm -f ${PROJECTDIR}/GstPipelineStudio-${VERSION}.dmg
|
||||
appdmg gps_dmg.json "${PROJECTDIR}/GstPipelineStudio-${VERSION}.dmg"
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "[done]"
|
||||
else
|
||||
|
@ -181,7 +181,7 @@ fi
|
|||
|
||||
# make portable package
|
||||
echo -n "make macos portable......"
|
||||
tar czf "${PROJECTDIR}/GstPipelineStudio-${VERSION}-macos.tar.gz" -C "${PROJECTDIR}" ${BUILD_DIR}/GstPipelineStudio.app
|
||||
tar czf "${PROJECTDIR}/GstPipelineStudio-${VERSION}.tar.gz" -C "${PROJECTDIR}" ${BUILD_DIR}/GstPipelineStudio.app
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "[done]"
|
||||
else
|
||||
|
|
|
@ -15,10 +15,8 @@ $lightToolPath = Join-Path $wixFolder -ChildPath light.exe
|
|||
$heatToolPath = Join-Path $wixFolder -ChildPath heat.exe
|
||||
|
||||
$GPSUpgradeCode = "9B87C8FF-599C-4F20-914E-AF5E68CB3DC0"
|
||||
$GPSVersion = $(git describe --always --abbrev=0)
|
||||
Write-Output "Version:"
|
||||
Write-Output $GPSVersion
|
||||
$GPSVersion = "0.3.1"
|
||||
|
||||
$GPSVersion = Get-Content $PSScriptRoot\..\..\VERSION -Raw
|
||||
Write-Output $GPSVersion
|
||||
try
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue