Skip to content

Commit 2454aed

Browse files
committed
tools: Update scripts
1 parent 29dac8c commit 2454aed

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tools/publish.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -193,5 +193,5 @@ fi
193193
set -x
194194

195195
git tag "${tag}"
196-
retry git push origin main
197-
retry git push origin --tags
196+
retry git push origin refs/heads/main
197+
retry git push origin refs/tags/"${tag}"

tools/tidy.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ cd -- "$(dirname -- "$0")"/..
1414
# - git 1.8+
1515
# - jq 1.6+
1616
# - npm (node 18+)
17-
# - python 3.6+
17+
# - python 3.5.3+
1818
# - shfmt
1919
# - shellcheck
2020
# - cargo, rustfmt (if Rust code exists)
@@ -666,7 +666,7 @@ elif check_install shellcheck; then
666666
if [[ ${#docker_files[@]} -gt 0 ]]; then
667667
# Exclude SC2096 due to the way the temporary script is created.
668668
shellcheck_exclude=SC2096
669-
info "running \`shellcheck --exclude ${shellcheck_exclude}\` for scripts in \$(git ls-files '*Dockerfile*')\`"
669+
info "running \`shellcheck --exclude ${shellcheck_exclude}\` for scripts in \`\$(git ls-files '*Dockerfile*')\`"
670670
if check_install jq python3 parse-dockerfile; then
671671
shellcheck_for_dockerfile() {
672672
local text=$1

0 commit comments

Comments
 (0)