We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f316ee9 commit 81e7a1eCopy full SHA for 81e7a1e
scripts/release.sh
@@ -105,7 +105,6 @@ main() {
105
106
# If a release version tag already exists, use it.
107
local remote_tag_exists
108
- run git remote -v show
109
remote_tag_exists=$(run git ls-remote origin "refs/tags/${RELEASE_VERSION}" | grep -c "${RELEASE_VERSION}" || true)
110
111
if [ "${remote_tag_exists}" -gt 0 ]; then
@@ -172,7 +171,7 @@ main() {
172
171
run git add api/version/version.go
173
# shellcheck disable=SC2038,SC2046
174
run git add $(find . -name go.mod ! -path './release/*'| xargs)
175
- run git diff --staged | cat | sed 's/diff --git//'
+ run git diff --staged | cat
176
run git commit --signoff --message "version: bump up to ${VERSION}"
177
run git diff --staged | cat
178
fi
0 commit comments