generator-reshow 0.17.50 → 0.17.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -25,7 +25,7 @@ jobs:
|
|
|
25
25
|
command: |
|
|
26
26
|
VER_PREFIX=$(support/VER_PREFIX.sh)
|
|
27
27
|
DOCKER_FILES=$(support/DOCKER_FILES.sh)
|
|
28
|
-
BUILD_FOLDER=${VER_PREFIX}
|
|
28
|
+
BUILD_FOLDER=${VER_PREFIX}-<< parameters.docker-tag >>
|
|
29
29
|
./support/build-multi.sh << parameters.docker-tag >>
|
|
30
30
|
ls -la ${BUILD_FOLDER}
|
|
31
31
|
for file in $DOCKER_FILES; do
|
|
@@ -43,7 +43,7 @@ jobs:
|
|
|
43
43
|
VER_PREFIX=$(support/VER_PREFIX.sh)
|
|
44
44
|
IMAGE_NAME=$(support/targetImage.sh)
|
|
45
45
|
BUILD_VERSION=<< parameters.docker-tag >>
|
|
46
|
-
BUILD_FOLDER=${VER_PREFIX}
|
|
46
|
+
BUILD_FOLDER=${VER_PREFIX}-<< parameters.docker-tag >>
|
|
47
47
|
BUILD_ARG=""
|
|
48
48
|
docker build ${BUILD_ARG} -f ${BUILD_FOLDER}/Dockerfile \
|
|
49
49
|
-t $IMAGE_NAME:${BUILD_VERSION} \
|
|
@@ -5,7 +5,7 @@ DIR="$(
|
|
|
5
5
|
pwd -P
|
|
6
6
|
)"
|
|
7
7
|
|
|
8
|
-
FOLDER_PREFIX=$(${DIR}/
|
|
8
|
+
FOLDER_PREFIX=$(${DIR}/VER_PREFIX.sh)
|
|
9
9
|
COPY_FILES=$(${DIR}/COPY_FILES.sh)
|
|
10
10
|
DOCKER_FILES=$(${DIR}/DOCKER_FILES.sh)
|
|
11
11
|
BUILD_VERSION=$1
|
|
@@ -17,14 +17,14 @@ fi
|
|
|
17
17
|
|
|
18
18
|
do_build() {
|
|
19
19
|
echo 'building --- Version: ' $BUILD_VERSION '-->'
|
|
20
|
-
|
|
21
|
-
mkdir -p ${
|
|
20
|
+
BUILD_FOLDER=${DIR}/../${FOLDER_PREFIX}-${BUILD_VERSION}
|
|
21
|
+
mkdir -p ${BUILD_FOLDER}
|
|
22
22
|
|
|
23
|
-
for file in $COPY_FILES; do [ -e "$file" ] && cp -a $file ${
|
|
23
|
+
for file in $COPY_FILES; do [ -e "$file" ] && cp -a $file ${BUILD_FOLDER}; done
|
|
24
24
|
for file in $DOCKER_FILES; do
|
|
25
25
|
if [ -e "$file" ]; then
|
|
26
|
-
cp $file ${
|
|
27
|
-
DEST_FILE=${
|
|
26
|
+
cp $file ${BUILD_FOLDER}
|
|
27
|
+
DEST_FILE=${BUILD_FOLDER}/$file
|
|
28
28
|
sed -i -e "s|\[VERSION\]|$BUILD_VERSION|g" ${DEST_FILE}
|
|
29
29
|
if [ -e "${DEST_FILE}-e" ]; then rm ${DEST_FILE}-e; fi
|
|
30
30
|
fi
|
package/package.json
CHANGED