Skip to content

Commit

Permalink
Double dash required because of "info" being cmd (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
dngray authored Feb 2, 2022
1 parent e434441 commit f8b621b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ jobs:
export VERSION=$(
docker run --rm alpine:latest /bin/sh -c "
apk update --no-cache --repository https://dl-cdn.alpinelinux.org/alpine/edge/community/ &&
apk update --no-cache --repository https://dl-cdn.alpinelinux.org/alpine/edge/community/ info -d tor | grep tor | head -1 | sed -e 's/tor-//' | sed -e 's/ description://'" | tail -n1
apk --update --no-cache --repository https://dl-cdn.alpinelinux.org/alpine/edge/community/ info -d tor |
grep tor | head -1 | sed -e 's/tor-//' | sed -e 's/ description://'" | tail -n1
)
echo $VERSION
echo $VERSION > $HOME/version.txt
Expand Down

0 comments on commit f8b621b

Please sign in to comment.