Commit 96727a6 1 parent 0199f75 commit 96727a6 Copy full SHA for 96727a6
File tree 1 file changed +13
-2
lines changed
1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 8
8
VERSION_MAJOR=` grep ' #define HPX_VERSION_MAJOR' hpx/config/version.hpp | awk {' print $3 ' }`
9
9
VERSION_MINOR=` grep ' #define HPX_VERSION_MINOR' hpx/config/version.hpp | awk {' print $3 ' }`
10
10
VERSION_SUBMINOR=` grep ' #define HPX_VERSION_SUBMINOR' hpx/config/version.hpp | awk {' print $3 ' }`
11
+ VERSION_TAG=` grep ' #define HPX_VERSION_TAG' hpx/config/version.hpp | awk {' print $3 ' } | tr --delete ' "' `
11
12
12
- DOT_VERSION=$VERSION_MAJOR .$VERSION_MINOR .$VERSION_SUBMINOR
13
- UNDERSCORE_VERSION=${VERSION_MAJOR} _${VERSION_MINOR} _$VERSION_SUBMINOR
13
+ if [ ! -z " $VERSION_TAG " ]; then
14
+ echo " Warning: VERSION_TAG is not empty (\" $VERSION_TAG \" )."
15
+ echo " If you intended to make a final release, remove the tag in hpx/config/version.hpp."
16
+ fi
17
+
18
+ DOT_VERSION=$VERSION_MAJOR .$VERSION_MINOR .$VERSION_SUBMINOR$VERSION_TAG
19
+ UNDERSCORE_VERSION=${VERSION_MAJOR} _${VERSION_MINOR} _$VERSION_SUBMINOR$VERSION_TAG
14
20
15
21
DOCS_WEBSITE=" https://stellar-group.github.io"
16
22
SOURCE_WEBSITE=" http://stellar.cct.lsu.edu"
@@ -68,6 +74,11 @@ rm -rf packages/7z/hpx_$DOT_VERSION
68
74
(cd packages/7z && $SEVENZIP x ../$SEVENZ > /dev/null)
69
75
echo " DONE"
70
76
77
+ if [ ! -z " $VERSION_TAG " ]; then
78
+ echo " Not printing HTML for non-final release."
79
+ exit
80
+ fi
81
+
71
82
ZIP_MD5=` md5sum packages/$ZIP | awk {' print $1' }`
72
83
TARGZ_MD5=` md5sum packages/$TARGZ | awk {' print $1' }`
73
84
TARBZ2_MD5=` md5sum packages/$TARBZ2 | awk {' print $1' }`
You can’t perform that action at this time.
0 commit comments