File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed
Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,10 @@ All notable changes to this project will be documented in this file.
33
44The 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
Original file line number Diff line number Diff line change @@ -74,20 +74,15 @@ If you want to see only the direct depedencies that have updates run
7474go 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
8479Using 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```
8883go 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```
9287go list -u -m -json all | go-mod-outdated -direct -ci
9388```
You can’t perform that action at this time.
0 commit comments