We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a17be1 commit e2beadaCopy full SHA for e2beada
1 file changed
release-version.sh
@@ -170,6 +170,12 @@ test "$FETCH_HEAD" = HEAD ||
170
test "$FETCH_HEAD" = "$(git merge-base $FETCH_HEAD $HEAD)" ||
171
die "'master' is not up-to-date"
172
173
+# Ensure license headers are up-to-date.
174
+mvn license:update-project-license license:update-file-header &&
175
+git add LICENSE.txt ||
176
+ die 'Failed to update copyright blurbs'
177
+no_changes_pending ||
178
+ die 'Copyright blurbs needed an update -- commit changes and try again'
179
180
# Prepare new release without pushing (requires the release plugin >= 2.1).
181
$DRY_RUN mvn $BATCH_MODE release:prepare -DpushChanges=false -Dresume=false $TAG \
0 commit comments