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

release version 2.0.0

parent 5d51e5c2
Branches
Tags
No related merge requests found
#!/bin/sh
if [ "$#" -ne 1 ]; then
echo "Aufruf: release-erstellen.sh JA"
echo "Als Parameter bitte 'JA' eintragen zur Sicherheit"
exit 1
fi
## alle -SNAPSHOT in pom.xmls entfernen
find . -name pom.xml -exec sed -i '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)
echo
echo "NEXT STEPS:"
echo "***********"
echo "Änderungen prüfen"
echo "git commit -a -m 'release version "$NEWVERSION"'"
echo "git push"
echo "git tag "$NEWVERSION
echo "git push --tags"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment