File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -202,15 +202,16 @@ test "$FETCH_HEAD" = "$(git merge-base $FETCH_HEAD $HEAD)" ||
202
202
# Ensure license headers are up-to-date.
203
203
test " $SKIP_LICENSE_UPDATE " -o -z " $licenseName " -o " $licenseName " = " N/A" || {
204
204
mvn license:update-project-license license:update-file-header &&
205
- git add LICENSE.txt ||
206
- die ' Failed to update copyright blurbs '
205
+ git add LICENSE.txt || die ' Failed to update copyright blurbs.
206
+ You can skip the license update using the --skip-license-update flag. '
207
207
no_changes_pending ||
208
208
die ' Copyright blurbs needed an update -- commit changes and try again.
209
209
Or if the license headers are being added erroneously to certain files,
210
210
exclude them by setting license.excludes in your POM; e.g.:
211
211
212
212
<license.excludes>**/script_templates/**</license.excludes>
213
- '
213
+
214
+ Alternately, try again with the --skip-license-update flag.'
214
215
}
215
216
216
217
# Prepare new release without pushing (requires the release plugin >= 2.1).
You can’t perform that action at this time.
0 commit comments