Skip to content

Commit

Permalink
Merge pull request #40 from student-kyushu/deploy-flow
Browse files Browse the repository at this point in the history
Change deploy flow
  • Loading branch information
Shumpei URABE committed Feb 14, 2019
2 parents 4823765 + e318a2e commit eb75546
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .circleci/config.yml
Expand Up @@ -42,7 +42,6 @@ jobs:
- checkout
- run: go get -u github.com/mitchellh/gox
- run: go get -u github.com/tcnksm/ghr
- run: go get -u github.com/stevenmatthewt/semantics
- run:
name: cross compile
command: |
Expand All @@ -60,11 +59,11 @@ jobs:
- run:
name: create release
command: |
tag=$(semantics --output-tag)
tag=$(cat release_tag)
if [ "$tag" ]; then
ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME --replace $tag dist/
else
echo "The commit message(s) did not indicate a major/minor/patch version."
echo "Failed to release"
fi
workflows:
version: 2
Expand Down
1 change: 1 addition & 0 deletions release_tag
@@ -0,0 +1 @@
v1.0.0

0 comments on commit eb75546

Please sign in to comment.