Skip to content

Commit

Permalink
moved Dockerfile, build hook, and helper function to determine MET ve…
Browse files Browse the repository at this point in the history
…rsion into internal/scripts/docker to be consistent with other METplus components
  • Loading branch information
georgemccabe committed Oct 31, 2022
1 parent 5f0bf3a commit 857108b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# get version, use develop or X+6.Y for MET_BRANCH
version_file=$(dirname $DOCKERFILE_PATH)/../../metplus/VERSION
version_file=$(dirname $DOCKERFILE_PATH)/../../../metplus/VERSION

if cat $version_file | egrep -q '^[0-9.]+$'; then
let major=$(cut -d '.' -f1 $version_file)+6
Expand Down

0 comments on commit 857108b

Please sign in to comment.