File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -118,12 +118,28 @@ jobs:
118118 steps :
119119 - attach_workspace :
120120 at : /tmp/workspace
121+ - checkout
121122 - run :
122- name : Get ghr
123+ name : Install ghr
123124 command : go get github.com/tcnksm/ghr
125+ - run :
126+ name : Install git-semver
127+ command : >
128+ git clone https://github.com/markchalloner/git-semver.git
129+ cd git-semver
130+ git checkout 2.0.2
131+ ./install.sh
124132 - run :
125133 name : Release jar on Github
126- command : ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME --replace test /tmp/workspace/fossildb.jar
134+ command : |
135+ ghr
136+ -t $GITHUB_TOKEN
137+ -u scalableminds
138+ -r fossildb
139+ -c $(git rev-parse HEAD)
140+ -draft
141+ test-$(git semver next)
142+ /tmp/workspace/fossildb.jar
127143
128144workflows :
129145 version : 2
You can’t perform that action at this time.
0 commit comments