mirror of
https://github.com/status-im/status-react.git
synced 2025-02-16 21:07:21 +00:00
use 8 char commits SHAs for status-go diff link
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
7bf77efc87
commit
b3a74ad7a5
@ -10,7 +10,7 @@ GO_COMMIT_MERGE_BASE=$(git show "${MERGE_BASE}":status-go-version.json | jq -r '
|
||||
GO_COMMIT_CURRENT=$(jq -r '."commit-sha1"' status-go-version.json)
|
||||
GITHUB_LINK_PREFIX="https://github.com/status-im/status-go/compare/"
|
||||
# Link to the current StatusGo changelog being updated.
|
||||
GITHUB_LINK="${GITHUB_LINK_PREFIX}${GO_COMMIT_MERGE_BASE}...${GO_COMMIT_CURRENT}"
|
||||
GITHUB_LINK="${GITHUB_LINK_PREFIX}${GO_COMMIT_MERGE_BASE::8}...${GO_COMMIT_CURRENT::8}"
|
||||
|
||||
COMMIT_MSG_FILE=$1
|
||||
# Check if the commit message already contains the link (rebase) and update otherwise insert into line2
|
||||
|
Loading…
x
Reference in New Issue
Block a user