Skip to content

Commit

Permalink
Use Bash
Browse files Browse the repository at this point in the history
  • Loading branch information
oprypin committed Dec 10, 2021
1 parent 3080137 commit 529d82e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/docs-versions.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
#!/bin/bash
set -eu

branches=( $(git ls-remote --heads "${1:-.}" | grep -P -o '(?<=refs/heads/)[0-9][0-9.]+' | sort -V -r) )
Expand Down

0 comments on commit 529d82e

Please sign in to comment.