@mzc-fe/design-system 0.0.1-rc.0 → 0.0.1-rc.1
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/bitbucket-pipelines.yml +10 -13
- package/package.json +1 -1
package/bitbucket-pipelines.yml
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# Prerequisites: $NPM_TOKEN setup in the Deployment variables.
|
|
8
8
|
# For advanced cases, please, follow examples from the pipe's README https://bitbucket.org/atlassian/npm-publish/src/master/README.md
|
|
9
9
|
|
|
10
|
-
image: node:
|
|
10
|
+
image: node:20
|
|
11
11
|
|
|
12
12
|
pipelines:
|
|
13
13
|
custom:
|
|
@@ -34,19 +34,16 @@ pipelines:
|
|
|
34
34
|
name: Deploy to npm
|
|
35
35
|
deployment: Production
|
|
36
36
|
script:
|
|
37
|
-
#
|
|
37
|
+
# Script 내에서 Version 체크 및 설정
|
|
38
38
|
- |
|
|
39
39
|
if [ "$Version" = "rc" ]; then
|
|
40
|
-
npm version prerelease --preid=rc -m "publish v%s"
|
|
41
|
-
|
|
42
|
-
variables:
|
|
43
|
-
ACCESS: 'public'
|
|
44
|
-
NPM_TOKEN: $NPM_TOKEN
|
|
45
|
-
TAG: "rc"
|
|
40
|
+
npm version prerelease --preid=rc -m "publish v%s [skip ci]"
|
|
41
|
+
export NPM_TAG="rc"
|
|
46
42
|
else
|
|
47
|
-
npm version $Version -m "publish v%s"
|
|
48
|
-
|
|
49
|
-
variables:
|
|
50
|
-
ACCESS: 'public'
|
|
51
|
-
NPM_TOKEN: $NPM_TOKEN
|
|
43
|
+
npm version $Version -m "publish v%s [skip ci]"
|
|
44
|
+
export NPM_TAG="latest"
|
|
52
45
|
fi
|
|
46
|
+
- pipe: atlassian/npm-publish:0.3.2
|
|
47
|
+
variables:
|
|
48
|
+
ACCESS: "public"
|
|
49
|
+
NPM_TOKEN: $NPM_TOKEN
|