mirror of
https://github.com/superhelio/tools.git
synced 2026-02-06 15:49:56 +00:00
Fix changelog url generation
This commit is contained in:
@@ -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