Skip to content
Snippets Groups Projects
Commit 3ba8d6f7 authored by OZGCloud's avatar OZGCloud
Browse files

adjust release script for macos

parent 3e6622ea
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,12 @@ fi
## alle -SNAPSHOT in pom.xmls entfernen
find . -name pom.xml -exec sed -i 's/-SNAPSHOT//g' {} +
#find . -name pom.xml -exec sed -i 's/-SNAPSHOT//g' {} +
SED_PARAMS="-i"
if [[ "$OSTYPE" =~ ^darwin ]]; then
SED_PARAMS="$SED_PARAMS '' -e"
fi
find . -name pom.xml -exec sed $SED_PARAMS 's/-SNAPSHOT//g' {} +
## release version auslesen
NEWVERSION=$(xmlstarlet sel -N w="http://maven.apache.org/POM/4.0.0" -t -v '//w:project/w:version' -n pom.xml)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment