diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index eb226a7..7a7bbff 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -72,7 +72,7 @@ jobs: run: | echo "The pull request title is '$PULL_REQUEST_TITLE'" - RELEASE_TYPE=$(echo "$PULL_REQUEST_TITLE" | egrep -io '(?#)(major|minor)' || echo 'patch')" + RELEASE_TYPE=$(echo "$PULL_REQUEST_TITLE" | egrep -io '(?#)(major|minor)' || echo 'patch') echo "About to create new '$RELEASE_TYPE' release" runme release $RELEASE_TYPE diff --git a/Runmefile.sh b/Runmefile.sh index 63f9a46..eeebed7 100644 --- a/Runmefile.sh +++ b/Runmefile.sh @@ -210,6 +210,7 @@ coverage.update_badge() { log "Updating badge with new coverage stat: ${percentage}% which corresponds to $color color." + git fetch git checkout $branch if [[ -f coverage.json ]]; then