-# Remove this case statement when Carbon is no longer supported.
-# Nitrogen onwards we do not want to use the release tag so simply need to
-# strip xml files of -SNAPSHOT tags.
-case "$RELEASE_TAG" in
- Boron*|Carbon*)
- lftools version release "$RELEASE_TAG"
- ;;
- *)
- find . -name "*.xml" -print0 | xargs -0 sed -i 's/-SNAPSHOT//'
- ;;
-esac
+find . -name "*.xml" -print0 | xargs -0 sed -i 's/-SNAPSHOT//'
+
+# Ignore changes to Final distribution since that will be released separately
+pushd integration/distribution || exit 1
+ git checkout -f opendaylight/pom.xml
+popd || exit 1