File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ rm -rf build
11
11
mkdir -p build
12
12
13
13
APPID=" com.webmeshproj.app"
14
- VERSION=${VERSION:- 0.0.2 }
14
+ VERSION=${VERSION}
15
15
DAEMONROOT=${DAEMONROOT:- webmesh}
16
16
SIGN=${SIGN:- " false" }
17
17
SIGNER=" ${MAC_APP_SIGNER_NAME} "
@@ -20,6 +20,10 @@ NOTARIZATION_TEAMID="${MAC_NOTARIZATION_TEAMID}"
20
20
NOTARIZATION_USERNAME=" ${MAC_NOTARIZATION_USERNAME} "
21
21
NOTARIZATION_PASSWORD=" ${MAC_NOTARIZATION_PASSWORD} "
22
22
23
+ if [[ -z " ${VERSION} " ]] ; then
24
+ VERSION=$( git describe --tags --always --dirty | cut -d ' -' -f 1)
25
+ fi
26
+
23
27
echo " + Building macOS installer for version $VERSION "
24
28
25
29
echo " ++ Copying webmeshd to App directories"
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ $ErrorActionPreference = "Stop"
9
9
10
10
$VERSION = $env: VERSION
11
11
if (-not $version ) {
12
- $VERSION = " 0.0.2 "
12
+ $VERSION = ((git describe -- tags -- always -- dirty) -Split ' - ' )[ 0 ]
13
13
$env: VERSION = $VERSION
14
14
}
15
15
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " webmesh" ,
3
- "version" : " 0.0.2 " ,
3
+ "version" : " 0.0.3 " ,
4
4
"description" : " An application for connecting to Webmesh networks" ,
5
5
"productName" : " Webmesh" ,
6
6
"author" : " Avi Zimmerman <avi.zimmerman@gmail.com>" ,
You can’t perform that action at this time.
0 commit comments