Skip to content
This repository has been archived by the owner on Dec 7, 2020. It is now read-only.

Commit

Permalink
Merge pull request #47 from 030/gh46-no-artifacts
Browse files Browse the repository at this point in the history
[GH-46] publish artifacts
  • Loading branch information
030 authored May 14, 2019
2 parents 4967094 + 045d52e commit 26ac409
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ addons:
secure: $SONAR_TOKEN
script:
- diff -u <(echo -n) <(gofmt -d ./)
- export DELIVERABLE="go-yq-${GOOS}"
- export DELIVERABLE="go-yq-${TRAVIS_OS_NAME}"
- go test -short -cover -v -coverprofile=coverage.out -covermode=atomic ./...
- go build -o $DELIVERABLE
- $SHA512_CMD $DELIVERABLE > ${DELIVERABLE}.sha512.txt
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sonar-scanner -Dsonar.projectKey=030_go-yq -Dsonar.sources=. -Dsonar.host.url=https://sonarcloud.io -Dsonar.coverage.exclusions=**/*_test.go -Dsonar.go.coverage.reportPaths="coverage.out"; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then sonar-scanner -Dsonar.projectKey=030_go-yq -Dsonar.sources=. -Dsonar.host.url=https://sonarcloud.io -Dsonar.coverage.exclusions=**/*_test.go -Dsonar.go.coverage.reportPaths="coverage.out"; fi
deploy:
provider: releases
api_key: $GITHUB_TOKEN
Expand Down
19 changes: 12 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.1.1] - 2019-05-14
### Fixed
- Artifacts publication.

## [2.1.0] - 2019-05-13
### Added
- Docker support.
Expand All @@ -31,10 +35,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- get a value from yaml using yq

[Unreleased]: https://github.com/030/go-yq/compare/2.1.0...HEAD
[2.1.0]: https://github.com/030/go-yq/releases/tag/2.1.0
[2.0.1]: https://github.com/030/go-yq/releases/tag/2.0.1
[2.0.0]: https://github.com/030/go-yq/releases/tag/2.0.0
[1.1.1]: https://github.com/030/go-yq/releases/tag/1.1.1
[1.1.0]: https://github.com/030/go-yq/releases/tag/1.1.0
[1.0.0]: https://github.com/030/go-yq/releases/tag/1.0.0
[Unreleased]: https://github.com/030/go-yq/compare/2.1.1...HEAD
[2.1.1]: https://github.com/030/go-yq/releases/tag/2.1.0...2.1.1
[2.1.0]: https://github.com/030/go-yq/releases/tag/2.0.1...2.1.0
[2.0.1]: https://github.com/030/go-yq/releases/tag/2.0.0...2.0.1
[2.0.0]: https://github.com/030/go-yq/releases/tag/1.1.1...2.0.0
[1.1.1]: https://github.com/030/go-yq/releases/tag/1.1.0...1.1.1
[1.1.0]: https://github.com/030/go-yq/releases/tag/1.0.0...1.1.0
[1.0.0]: https://github.com/030/go-yq/releases/tag/1.0.0

0 comments on commit 26ac409

Please sign in to comment.