We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a469b5c commit 0361e9fCopy full SHA for 0361e9f
1 file changed
util/release-yamlscript
@@ -40,7 +40,6 @@ verbose =: true
40
dryrun =: boolean(ENV.YS_RELEASE_DRYRUN)
41
last-step =: (ENV.YS_RELEASE_LAST_STEP || steps):N
42
43
-
44
#------------------------------------------------------------------------------
45
# Run each step in succession, starting at the specified step number if given
46
# and ending at the specified last step number if given.
@@ -302,7 +301,10 @@ defn run(cmd):
302
301
say: "+ $cmd"
303
304
when-not dryrun:
305
- shell: cmd
+ token =:
+ sh-out:
306
+ "ys -l $(ENV.HOME)/.yamlscript-secrets.yaml -e '.github.token:say'"
307
+ shell {:extra-env {"YS_GH_TOKEN" token}}: cmd
308
309
defn check-args(old new start):
310
when-not (string? old) && (re-matches /0\.\d+\.\d+/ old):
0 commit comments