mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Strip string doublequotes from meta jq output
This commit is contained in:
parent
cd0a6c0e88
commit
0f41e1ae25
@ -95,7 +95,7 @@ docker-build-dev:
|
|||||||
MAJOR=$(cat app/config/version.json | jq '.major' )
|
MAJOR=$(cat app/config/version.json | jq '.major' )
|
||||||
MINOR=$(cat app/config/version.json | jq '.minor' )
|
MINOR=$(cat app/config/version.json | jq '.minor' )
|
||||||
SUB=$(cat app/config/version.json | jq '.sub' )
|
SUB=$(cat app/config/version.json | jq '.sub' )
|
||||||
META=$(cat app/config/version.json | jq '.meta' )
|
META=$(cat app/config/version.json | jq -r '.meta' )
|
||||||
- |
|
- |
|
||||||
apk --no-cache add curl
|
apk --no-cache add curl
|
||||||
latest_tag=$(curl -s https://api.github.com/repos/docker/buildx/releases/latest | sed -Ene '/^ *"tag_name": *"(v.+)",$/s//\1/p')
|
latest_tag=$(curl -s https://api.github.com/repos/docker/buildx/releases/latest | sed -Ene '/^ *"tag_name": *"(v.+)",$/s//\1/p')
|
||||||
@ -150,7 +150,7 @@ docker-build-prod:
|
|||||||
MAJOR=$(cat app/config/version.json | jq '.major' )
|
MAJOR=$(cat app/config/version.json | jq '.major' )
|
||||||
MINOR=$(cat app/config/version.json | jq '.minor' )
|
MINOR=$(cat app/config/version.json | jq '.minor' )
|
||||||
SUB=$(cat app/config/version.json | jq '.sub' )
|
SUB=$(cat app/config/version.json | jq '.sub' )
|
||||||
META=$(cat app/config/version.json | jq '.meta' )
|
META=$(cat app/config/version.json | jq -r '.meta' )
|
||||||
- |
|
- |
|
||||||
apk --no-cache add curl
|
apk --no-cache add curl
|
||||||
latest_tag=$(curl -s https://api.github.com/repos/docker/buildx/releases/latest | sed -Ene '/^ *"tag_name": *"(v.+)",$/s//\1/p')
|
latest_tag=$(curl -s https://api.github.com/repos/docker/buildx/releases/latest | sed -Ene '/^ *"tag_name": *"(v.+)",$/s//\1/p')
|
||||||
|
Loading…
Reference in New Issue
Block a user