mirror of
https://github.com/superhelio/tools.git
synced 2026-01-26 03:14:00 +00:00
Fix changelog url generation
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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,')
|
||||
|
||||
Reference in New Issue
Block a user