2
0

set-fs-version.sh 398 B

1234567891011121314151617
  1. #!/bin/sh
  2. ##### -*- mode:shell-script; indent-tabs-mode:nil; sh-basic-offset:2 -*-
  3. sdir="."
  4. [ -n "${0%/*}" ] && sdir="${0%/*}"
  5. . $sdir/../scripts/ci/common.sh
  6. check_pwd
  7. check_input_ver_build $@
  8. in_ver="$1"
  9. in_hrev="$2"
  10. if [ "$in_ver" = "auto" ]; then
  11. in_ver="$(cat build/next-release.txt)"
  12. fi
  13. eval $(parse_version "$in_ver")
  14. set_fs_ver "$gver" "$gmajor" "$gminor" "$gmicro" "$grev" "$in_hrev"