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:
3131 filters :
3232 branches :
3333 only : master
34+ - homebrew_tap :
35+ requires :
36+ - release
37+ filters :
38+ branches :
39+ only : master
3440
3541jobs :
3642 build_unit :
@@ -124,6 +130,12 @@ jobs:
124130 command : /bin/bash -c "./tasks release"
125131 - run :
126132 command : /bin/bash -c "./tasks release_gh"
133+ homebrew_tap :
134+ executor : platform
135+ steps :
136+ - setup
137+ - attach_workspace :
138+ at : ~/repo
127139 - run :
128140 command : /bin/bash -c "./tasks homebrew_tap"
129141
Original file line number Diff line number Diff line change 11#! /bin/bash
22set -Ee
33
4- RELEASER_VERSION=" 2.1.0 "
4+ RELEASER_VERSION=" 2.1.3 "
55RELEASER_FILE=" ops/releaser-${RELEASER_VERSION} "
66
77mkdir -p ops
@@ -126,26 +126,28 @@ const DojoVersion = \"${next_version}\"
126126 echo " Releasing version ${VERSION} "
127127 GH_USER=kudulab
128128
129+ echo " Creating a GitHub release"
129130 $GHRELEASE_BIN release \
130131 --user $GH_USER \
131132 --repo dojo \
132133 --tag $VERSION \
133134 --name $VERSION \
134135 --description " $( ./tasks generate_release_notes ${VERSION} ) "
135-
136+ echo " Uploading assets (1/2) "
136137 $GHRELEASE_BIN upload \
137138 --user $GH_USER \
138139 --repo dojo \
139140 --tag $VERSION \
140141 --name " dojo_linux_amd64" \
141142 --file bin/dojo_linux_amd64
142-
143+ echo " Uploading assets (2/2) "
143144 $GHRELEASE_BIN upload \
144145 --user $GH_USER \
145146 --repo dojo \
146147 --tag $VERSION \
147148 --name " dojo_darwin_amd64" \
148149 --file bin/dojo_darwin_amd64
150+ echo " Success"
149151 ;;
150152 homebrew_tap)
151153 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