Skip to content

Commit

Permalink
[feature] version: move to 0.9.0 & S4
Browse files Browse the repository at this point in the history
  • Loading branch information
OpaOnWindowsNow committed Feb 13, 2012
1 parent fe16af9 commit ab0b5b4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build_rules.ml
Expand Up @@ -205,7 +205,7 @@ rule "Opa Compiler Interface Validation (opacapi)"


(* TODO: probably same bugs than mlstate_platform *) (* TODO: probably same bugs than mlstate_platform *)
let generate_buildinfos = "buildinfos/generate_buildinfos.sh" in let generate_buildinfos = "buildinfos/generate_buildinfos.sh" in
let version_buildinfos = "buildinfos/version.txt" in let version_buildinfos = "buildinfos/version_major.txt" in
let pre_buildinfos = "buildinfos/buildInfos.ml.pre" in let pre_buildinfos = "buildinfos/buildInfos.ml.pre" in
let post_buildinfos = "buildinfos/buildInfos.ml.post" in let post_buildinfos = "buildinfos/buildInfos.ml.post" in
let buildinfos = "buildinfos/buildInfos.ml" in let buildinfos = "buildinfos/buildInfos.ml" in
Expand Down
1 change: 0 additions & 1 deletion buildinfos/version.txt

This file was deleted.

1 change: 1 addition & 0 deletions buildinfos/version_major.txt
@@ -0,0 +1 @@
0.9.0
1 change: 1 addition & 0 deletions buildinfos/version_name.txt
@@ -0,0 +1 @@
S4
4 changes: 2 additions & 2 deletions make_package.sh
Expand Up @@ -7,9 +7,9 @@ set -u
INSTALLDIR=$PWD/release_install_root INSTALLDIR=$PWD/release_install_root


# VERSION_MAJOR must be a version number, not text !! # VERSION_MAJOR must be a version number, not text !!
VERSION_MAJOR=1.0 VERSION_MAJOR=$(cat buildinfos/version_major.txt)
# VERSION_NAME shall be a string of alphanumeric characters or . + ~ (Debian guidelines) # VERSION_NAME shall be a string of alphanumeric characters or . + ~ (Debian guidelines)
VERSION_NAME=$(tr '[:upper:]' '[:lower:]' <buildinfos/version.txt) VERSION_NAME=$(tr '[:upper:]' '[:lower:]' <buildinfos/version_name.txt)
VERSION_BUILD=build VERSION_BUILD=build


# the version string will be MAJORNAME+BUILDnnnn with nnnn the build number # the version string will be MAJORNAME+BUILDnnnn with nnnn the build number
Expand Down

0 comments on commit ab0b5b4

Please sign in to comment.