File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -39,12 +39,14 @@ functions:
39
39
unzip -u macos-notary.zip
40
40
chmod 755 ./linux_amd64/macnotary
41
41
" release " :
42
+ - command : github.generate_token
43
+ params :
44
+ expansion_name : generated_token
42
45
- command : shell.exec
43
46
type : setup
44
47
params :
45
48
working_dir : src/github.com/mongodb/mongodb-enterprise-kubernetes/tools/multicluster
46
49
include_expansions_in_env :
47
- - GITHUB_TOKEN
48
50
- GRS_USERNAME
49
51
- GRS_PASSWORD
50
52
- PKCS11_URI
@@ -65,11 +67,12 @@ functions:
65
67
set -Eeu pipefail
66
68
67
69
export PATH=$GOROOT/bin:$PATH
70
+ export GITHUB_TOKEN=${generated_token}
68
71
${workdir}/goreleaser release --rm-dist
69
72
70
73
tasks :
71
74
- name : package_goreleaser
72
- git_tag_only : true
75
+ allowed_requesters : [ "patch", "github_tag" ]
73
76
tags : ["packaging"]
74
77
commands :
75
78
- func : " clone"
You can’t perform that action at this time.
0 commit comments