Merge pull request #1121 from smallstep/fix-1115

Use sh instead of bash in .version.sh script
This commit is contained in:
Mariano Cano 2022-10-19 16:39:37 -07:00 committed by GitHub
commit 53f2ecdad9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/usr/bin/env sh
read -r firstline < .VERSION
last_half="${firstline##*tag: }"
if [[ ${last_half::1} == "v" ]]; then