diff --git a/.circleci/config.yml b/.circleci/config.yml index 8b8f7c3..d666d3f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,61 +3,61 @@ version: 2 jobs: build: docker: - - image: circleci/golang:1.13 + - image: circleci/golang:1.14 steps: - - checkout - - run: - name: Bootstrap build - command: make bootstrap - - run: - name: Run tests - command: gotestsum --junitfile unit-tests.xml - - store_test_results: - path: . - - run: - name: Building release binaries - command: make release - - persist_to_workspace: - root: . - paths: - - _dist + - checkout + - run: + name: Bootstrap build + command: make bootstrap + - run: + name: Run tests + command: gotestsum --junitfile unit-tests.xml + - store_test_results: + path: . + - run: + name: Building release binaries + command: make release + - persist_to_workspace: + root: . + paths: + - _dist release: docker: - - image: circleci/golang:1.13 + - image: circleci/golang:1.14 steps: - - checkout - - run: - name: Run go get - command: go get github.com/tcnksm/ghr - - attach_workspace: - at: . - - run: - name: Upload artifacts to GitHub - command: | - GIT_TAG=`git describe --tags` - if [[ $GIT_TAG = *"-"* ]]; then - ghr -t $GITHUB_TOKEN --prerelease `git describe --tags` _dist/ - else - ghr -t $GITHUB_TOKEN `git describe --tags` _dist/ - fi + - checkout + - run: + name: Run go get + command: go get github.com/tcnksm/ghr + - attach_workspace: + at: . + - run: + name: Upload artifacts to GitHub + command: | + GIT_TAG=`git describe --tags` + if [[ $GIT_TAG = *"-"* ]]; then + ghr -t $GITHUB_TOKEN --prerelease `git describe --tags` _dist/ + else + ghr -t $GITHUB_TOKEN `git describe --tags` _dist/ + fi workflows: version: 2 build_and_release: jobs: - - build: - filters: - tags: - only: /.*/ - - release: - requires: - - build - filters: - branches: - ignore: /.*/ - tags: - only: /^v.*/ \ No newline at end of file + - build: + filters: + tags: + only: /.*/ + - release: + requires: + - build + filters: + branches: + ignore: /.*/ + tags: + only: /^v.*/ \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 38a5b36..309c605 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ ## 0.6.0 (Not released) +- Upgraded to go 1.14 +- Fixed issue #26 Fail if module does not exist + ## 0.5.0 (12. March 2020) + - Added `--destroy` option for `plan` command to create plan to destroy all resources - Use go-cmd dependency instead of forked version diff --git a/go.mod b/go.mod index a7c4e75..0801aea 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/avinor/tau -go 1.13 +go 1.14 require ( github.com/MakeNowJust/heredoc v1.0.0