diff --git a/CHANGELOG.md b/CHANGELOG.md index 88ead93..9921a49 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ - Take account diffs in bitbucket and github changelog urls - Reverse commit message list -[Full changelog](https///github.com/superhelio/tools/compare/0.1.2...0.1.3) +[Full changelog](https://github.com/superhelio/tools/compare/0.1.2...0.1.3) ## 0.1.2 (2016-08-10) diff --git a/release.sh b/release.sh index 22c7c16..a1e85fd 100755 --- a/release.sh +++ b/release.sh @@ -27,7 +27,7 @@ LATEST_HASH=$(git log --pretty=format:'%h' -n 1) # Guess our remote url from remote.origin.url. Used to create Changelog link. # You can change this to your project url, but detection should cover 99%. -PROJECT_URL=$(git config --get remote.origin.url | sed 's/\.git//' | sed 's/\:/\//' | sed 's/git@/https\:\/\//') +PROJECT_URL=$(git config --get remote.origin.url | sed 's/\.git//' | sed 's/\:/\//' | sed 's/git@/https\:\/\//' | sed 's/\/\/\//\:\/\//') # current Git branch BRANCH_CURRENT=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,')