This repository was archived by the owner on Aug 2, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-22
lines changed Expand file tree Collapse file tree 2 files changed +10
-22
lines changed Original file line number Diff line number Diff line change 28
28
- run :
29
29
name : Install dependencies
30
30
command : npm install
31
+ - run :
32
+ name : Authenticate with registry
33
+ command : echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/cli/.npmrc
34
+ - run :
35
+ name : Publish package
36
+ command : npm publish
37
+ - run :
38
+ name : Remove .npmrc
39
+ command : rm .npmrc
31
40
- run : npm run prepack
32
41
- run : npx @oclif/dev-cli pack -t linux-x64
33
42
- run : npx @oclif/dev-cli pack:deb
59
68
- run : ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -replace ${CIRCLE_TAG} ./dist/deb/
60
69
- run : ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -replace ${CIRCLE_TAG} ./dist/s3audit*
61
70
62
- publish-to-npm :
63
- docker :
64
- - image : node:10.15.3
65
- steps :
66
- - attach_workspace :
67
- at : ~/cli
68
- - run :
69
- name : Authenticate with registry
70
- command : echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/cli/.npmrc
71
- - run :
72
- name : Publish package
73
- command : npm publish ~/cli
74
-
75
71
workflows :
76
72
version : 2
77
73
" test " :
@@ -101,11 +97,3 @@ workflows:
101
97
only : /^v.*/
102
98
branches :
103
99
ignore : /.*/
104
- - publish-to-npm :
105
- requires :
106
- - pack
107
- filters :
108
- tags :
109
- only : /^v.*/
110
- branches :
111
- ignore : /.*/
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " s3audit" ,
3
- "version" : " 1.0.4 " ,
3
+ "version" : " 1.0.5 " ,
4
4
"author" : " Rob Taylor @robbytaylor" ,
5
5
"bin" : {
6
6
"s3audit" : " ./bin/run"
You can’t perform that action at this time.
0 commit comments