@datarailsshared/dr_renderer 1.2.133 → 1.2.134-tigers
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.
- package/.circleci/config.yml +18 -2
- package/package.json +1 -1
package/.circleci/config.yml
CHANGED
|
@@ -20,7 +20,12 @@ jobs:
|
|
|
20
20
|
- run:
|
|
21
21
|
name: Prepare publish version
|
|
22
22
|
command: |
|
|
23
|
-
|
|
23
|
+
postfix=""
|
|
24
|
+
if [[ "${CIRCLE_BRANCH}" != prod ]] ; then
|
|
25
|
+
postfix="-$CIRCLE_BRANCH"
|
|
26
|
+
fi
|
|
27
|
+
|
|
28
|
+
VERSION="1.2.$CIRCLE_BUILD_NUM$postfix"
|
|
24
29
|
sed -i s/{{cicd_version}}/$VERSION/g ./package.json
|
|
25
30
|
cat ./package.json
|
|
26
31
|
- run:
|
|
@@ -32,7 +37,12 @@ jobs:
|
|
|
32
37
|
- run:
|
|
33
38
|
name: prepare git tag
|
|
34
39
|
command: |
|
|
35
|
-
|
|
40
|
+
postfix=""
|
|
41
|
+
if [[ "${CIRCLE_BRANCH}" != prod ]] ; then
|
|
42
|
+
postfix="-$CIRCLE_BRANCH"
|
|
43
|
+
fi
|
|
44
|
+
|
|
45
|
+
VERSION="1.2.$CIRCLE_BUILD_NUM$postfix"
|
|
36
46
|
git config --global user.email noreplay@circleci.com
|
|
37
47
|
git config --global user.name circleci
|
|
38
48
|
git config --global -l
|
|
@@ -49,3 +59,9 @@ workflows:
|
|
|
49
59
|
branches:
|
|
50
60
|
only:
|
|
51
61
|
- /prod.*/
|
|
62
|
+
- /tigers/
|
|
63
|
+
- /bratans/
|
|
64
|
+
- /dragons/
|
|
65
|
+
- /tigers/
|
|
66
|
+
- /wizards/
|
|
67
|
+
- /rocket/
|