Skip to content

Commit 9ae24da

Browse files
committed
quote during release
1 parent fdac5a3 commit 9ae24da

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
./bin/create_version.sh "${GITHUB_REF##*/}" 1
3333
3434
# Build all containers
35-
QUTEX_VERSION=$(echo ${GITHUB_REF##*/}) docker compose disable-v2 -f docker-compose.yml -f docker-compose.build.yml build
36-
QUTEX_VERSION=$(echo ${GITHUB_REF##*/}) docker compose disable-v2 -f docker-compose.yml -f docker-compose.build.yml push
35+
QUTEX_VERSION=$(echo ${GITHUB_REF##*/}) docker compose -f docker-compose.yml -f docker-compose.build.yml build
36+
QUTEX_VERSION=$(echo ${GITHUB_REF##*/}) docker compose -f docker-compose.yml -f docker-compose.build.yml push
3737
env:
3838
DOCKER_TOKEN: ${{ secrets.GITHUB_TOKEN }}

bin/create_version.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ if [[ -z $2 ]]; then
1515
read -p "Press enter to continue"
1616
fi;
1717

18-
echo "QUTEX_RELEASE_DATE=${QUTEX_RELEASE_DATE}
19-
QUTEX_VERSION=${QUTEX_VERSION}" > .version.env
18+
cat > .version.env <<EOF
19+
QUTEX_RELEASE_DATE='${QUTEX_RELEASE_DATE}'
20+
QUTEX_VERSION=${QUTEX_VERSION}
21+
EOF
2022

2123
cat .version.env
2224

0 commit comments

Comments
 (0)