File tree Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,12 @@ workflows:
31
31
filters :
32
32
branches :
33
33
only : master
34
+ - homebrew_tap :
35
+ requires :
36
+ - release
37
+ filters :
38
+ branches :
39
+ only : master
34
40
35
41
jobs :
36
42
build_unit :
@@ -124,6 +130,12 @@ jobs:
124
130
command : /bin/bash -c "./tasks release"
125
131
- run :
126
132
command : /bin/bash -c "./tasks release_gh"
133
+ homebrew_tap :
134
+ executor : platform
135
+ steps :
136
+ - setup
137
+ - attach_workspace :
138
+ at : ~/repo
127
139
- run :
128
140
command : /bin/bash -c "./tasks homebrew_tap"
129
141
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -Ee
3
3
4
- RELEASER_VERSION=" 2.1.0 "
4
+ RELEASER_VERSION=" 2.1.3 "
5
5
RELEASER_FILE=" ops/releaser-${RELEASER_VERSION} "
6
6
7
7
mkdir -p ops
@@ -126,26 +126,28 @@ const DojoVersion = \"${next_version}\"
126
126
echo " Releasing version ${VERSION} "
127
127
GH_USER=kudulab
128
128
129
+ echo " Creating a GitHub release"
129
130
$GHRELEASE_BIN release \
130
131
--user $GH_USER \
131
132
--repo dojo \
132
133
--tag $VERSION \
133
134
--name $VERSION \
134
135
--description " $( ./tasks generate_release_notes ${VERSION} ) "
135
-
136
+ echo " Uploading assets (1/2) "
136
137
$GHRELEASE_BIN upload \
137
138
--user $GH_USER \
138
139
--repo dojo \
139
140
--tag $VERSION \
140
141
--name " dojo_linux_amd64" \
141
142
--file bin/dojo_linux_amd64
142
-
143
+ echo " Uploading assets (2/2) "
143
144
$GHRELEASE_BIN upload \
144
145
--user $GH_USER \
145
146
--repo dojo \
146
147
--tag $VERSION \
147
148
--name " dojo_darwin_amd64" \
148
149
--file bin/dojo_darwin_amd64
150
+ echo " Success"
149
151
;;
150
152
homebrew_tap)
151
153
if [ ! -f bin/dojo_darwin_amd64 ]; then echo " dojo_darwin_amd64 binary does not exist" ; exit 1; fi
You can’t perform that action at this time.
0 commit comments