File tree Expand file tree Collapse file tree 3 files changed +20
-14
lines changed Expand file tree Collapse file tree 3 files changed +20
-14
lines changed Original file line number Diff line number Diff line change 2828 run : |
2929 # Setup Build
3030 docker login -u publisher -p ${DOCKER_TOKEN} ghcr.io
31+
32+ ./bin/create_version.sh "${GITHUB_REF##*/}"
3133
3234 # Build all containers
3335 QUTEX_VERSION=$(echo ${GITHUB_REF##*/}) docker compose -f docker-compose.yml -f docker-compose.build.yml build
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ today=$( date +" %b %d, %Y" )
4+
5+ QUTEX_RELEASE_DATE=" $today "
6+ QUTEX_VERSION=$1
7+
8+ echo "
9+ Release Date: ${QUTEX_RELEASE_DATE}
10+ Version: ${QUTEX_VERSION}
11+ "
12+ if [[ -z $2 ]]; then
13+ read -p " Press enter to continue"
14+ fi ;
15+
16+ echo " QUTEX_RELEASE_DATE=${QUTEX_RELEASE_DATE}
17+ QUTEX_VERSION=${QUTEX_VERSION} " > .version.env
Original file line number Diff line number Diff line change 77 echo " Version number found: $1 "
88fi
99
10- today=$( date +" %b %d, %Y" )
11-
1210# Deploy the docs to docs.qutexbot.com
1311mkdocs gh-deploy
1412
15- QUTEX_RELEASE_DATE=" $today "
16- QUTEX_VERSION=$1
17-
18- echo "
19- Release Date: ${QUTEX_RELEASE_DATE}
20- Version: ${QUTEX_VERSION}
21- "
22-
23- read -p " Press enter to continue"
24-
25- echo " QUTEX_RELEASE_DATE=${QUTEX_RELEASE_DATE}
26- QUTEX_VERSION=${QUTEX_VERSION} " > .version.env
13+ ./create_version.sh " $1 "
2714
2815env QUTEX_VERSION=" ${QUTEX_VERSION} " docker --context qutex stack deploy --with-registry-auth qutex -c docker-compose.yml
You can’t perform that action at this time.
0 commit comments