Skip to content

Commit 0a9f58a

Browse files
authored
Merge pull request #11 from psampaz/0.3.0
Prepare v0.3.0
2 parents eebb44e + 32e3be5 commit 0a9f58a

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ All notable changes to this project will be documented in this file.
33

44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
55

6-
## [0.3.0] unreleased
6+
## [0.3.0] 2019-05-01
77
### Added
8-
- osx in travis
98
- Flag '-ci' to exit with non-zero exit code when an outdated dependency is found
9+
- osx in travis
1010
### Removed
1111
- tip version in travis
1212

README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,20 +74,15 @@ If you want to see only the direct depedencies that have updates run
7474
go list -u -m -json all | go-mod-outdated -update -direct
7575
```
7676

77-
If you want to make your CI pipeline fail
78-
79-
```
80-
go list -u -m -json all | go-mod-outdated -direct -ci
81-
```
8277
### CI pipelines
8378

8479
Using the -ci flag will the make the command exit with none zero code, breaking this way your ci pipelines.
8580

86-
If you want to make your CI pipeline fail if any direct or indirect dependency is outdated use the following:
81+
If you want to make your CI pipeline fail if **any direct or indirect** dependency is outdated use the following:
8782
```
8883
go list -u -m -json all | go-mod-outdated -ci
8984
```
90-
If you want to make your CI pipeline fail only if a direct dependency is outdated use the following:
85+
If you want to make your CI pipeline fail **only if a direct** dependency is outdated use the following:
9186
```
9287
go list -u -m -json all | go-mod-outdated -direct -ci
9388
```

0 commit comments

Comments
 (0)