Skip to content

Commit

Permalink
Merge pull request #2495 from jmstover/mconfig_rc_fix
Browse files Browse the repository at this point in the history
RC mconfig update
  • Loading branch information
GodloveD authored Dec 22, 2018
2 parents 3aa6284 + 6979b00 commit bad53cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mconfig
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ appsec=0

package_name=singularity
short_version=`(git describe --abbrev=0 --match 'v[0-9]*' --always 2>/dev/null || cat VERSION 2>/dev/null || echo "") | sed -e "s/^v//;s/-/_/g;s/_/-/;s/_/./g"`
if echo $short_version | grep -q '\-rc'; then
short_version=$(echo $short_version | rev | cut -f 2- -d '-' | rev)
fi

package_version=`(git describe --match 'v[0-9]*' --dirty --always 2>/dev/null || cat VERSION 2>/dev/null || echo "") | sed -e "s/^v//;s/-/_/g;s/_/-/;s/_/./g"`
go_version="`grep -A 1 ^go: .travis.yml 2>/dev/null|sed -n 's/.*- "//;s/"//p'`"

Expand Down

0 comments on commit bad53cc

Please sign in to comment.