Skip to content

Commit 81e7a1e

Browse files
committed
remove workarounds
Signed-off-by: Ivan Valdes <[email protected]>
1 parent f316ee9 commit 81e7a1e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/release.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ main() {
105105

106106
# If a release version tag already exists, use it.
107107
local remote_tag_exists
108-
run git remote -v show
109108
remote_tag_exists=$(run git ls-remote origin "refs/tags/${RELEASE_VERSION}" | grep -c "${RELEASE_VERSION}" || true)
110109

111110
if [ "${remote_tag_exists}" -gt 0 ]; then
@@ -172,7 +171,7 @@ main() {
172171
run git add api/version/version.go
173172
# shellcheck disable=SC2038,SC2046
174173
run git add $(find . -name go.mod ! -path './release/*'| xargs)
175-
run git diff --staged | cat | sed 's/diff --git//'
174+
run git diff --staged | cat
176175
run git commit --signoff --message "version: bump up to ${VERSION}"
177176
run git diff --staged | cat
178177
fi

0 commit comments

Comments
 (0)