Skip to content

Commit

Permalink
Improve update version script
Browse files Browse the repository at this point in the history
  • Loading branch information
electrocucaracha committed Jan 10, 2025
1 parent 14678d2 commit d2e8d7e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci/update_versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ if [[ ${DEBUG:-false} == "true" ]]; then
set -o xtrace
fi

trap "make fmt" EXIT

function get_version {
local type="$1"
local name="$2"
Expand Down Expand Up @@ -238,4 +240,3 @@ for action in $gh_actions; do
# shellcheck disable=SC2267
grep -ElRZ "uses: $action@" .github/ | xargs -0 -l sed -i -e "s|uses: $action@.*|uses: $action@$commit_hash|g"
done
make fmt

0 comments on commit d2e8d7e

Please sign in to comment.