You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .drone.yml
-56Lines changed: 0 additions & 56 deletions
Original file line number
Diff line number
Diff line change
@@ -33,59 +33,3 @@ steps:
33
33
echo "ABIs not up-to-date in packages/subgraph, need to run 'npm run refresh-abis'"
34
34
exit 1
35
35
fi
36
-
37
-
---
38
-
kind: pipeline
39
-
type: docker
40
-
name: sdk deprecate npm version
41
-
42
-
trigger:
43
-
event:
44
-
- promote
45
-
target:
46
-
# deprecates a version of @iexec/dataprotector
47
-
- sdk-deprecate-package
48
-
49
-
steps:
50
-
- name: authenticate
51
-
image: robertstettner/drone-npm-auth
52
-
settings:
53
-
username:
54
-
from_secret: npm_username
55
-
token:
56
-
from_secret: npm_token
57
-
58
-
- name: deprecate package
59
-
image: node:18.19
60
-
params:
61
-
- PACKAGE_VERSION
62
-
commands:
63
-
- if [ -n "$PACKAGE_VERSION" ]; then npm deprecate @iexec/dataprotector@$PACKAGE_VERSION "deprecate $PACKAGE_VERSION"; else echo "PACKAGE_VERSION is not set"; fi
64
-
65
-
---
66
-
kind: pipeline
67
-
type: docker
68
-
name: sdk undeprecate npm version
69
-
70
-
trigger:
71
-
event:
72
-
- promote
73
-
target:
74
-
# remove the deprecation of a version of @iexec/dataprotector
75
-
- sdk-undeprecate-package
76
-
77
-
steps:
78
-
- name: authenticate
79
-
image: robertstettner/drone-npm-auth
80
-
settings:
81
-
username:
82
-
from_secret: npm_username
83
-
token:
84
-
from_secret: npm_token
85
-
86
-
- name: undeprecate package
87
-
image: node:18.19
88
-
params:
89
-
- PACKAGE_VERSION
90
-
commands:
91
-
- if [ -n "$PACKAGE_VERSION" ]; then npm deprecate @iexec/dataprotector@$PACKAGE_VERSION ""; else echo "PACKAGE_VERSION is not set"; fi
0 commit comments