Skip to content

Commit

Permalink
applied the same changes as PR #1907 did for develop to ensure a METp…
Browse files Browse the repository at this point in the history
…lus bugfix release will properly create an image for the release via DockerHub dtcenter/metplus build rules
  • Loading branch information
georgemccabe committed Nov 3, 2022
1 parent 9daac01 commit 0ae1743
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/jobs/docker_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ duration=$(( SECONDS - start_seconds ))
echo "TIMING: docker pull ${DOCKERHUB_TAG} took `printf '%02d' $(($duration / 60))`:`printf '%02d' $(($duration % 60))` (MM:SS)"

# set DOCKERFILE_PATH that is used by docker hook script get_met_version
export DOCKERFILE_PATH=${GITHUB_WORKSPACE}/scripts/docker/Dockerfile
export DOCKERFILE_PATH=${GITHUB_WORKSPACE}/internal/scripts/docker/Dockerfile

MET_TAG=`${GITHUB_WORKSPACE}/scripts/docker/hooks/get_met_version`
MET_TAG=`${GITHUB_WORKSPACE}/internal/scripts/docker/hooks/get_met_version`

MET_DOCKER_REPO=met-dev
if [ "${MET_TAG}" != "develop" ]; then
Expand Down
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 0ae1743

Please sign in to comment.