Skip to content
Snippets Groups Projects
Select Git revision
  • 106550f4184e83b3b09d4a7ec539bd513b49dcc6
  • main default protected
  • ods-button-cleanup
  • OZG-8490-E2E-Tests
  • tooltip-improvements
  • admin-cleanup
  • OZG-8376-ods-select
  • OZG-8405-Alfa-Bearbeiter-auswählen-und-entfernen-Design
  • OZG-7981-Statistik-Anzeige-von-Mandanten
  • OZG-6319-inlcude-externe-fachstelle-to-collaboration
  • OZG-8430-radio-button-card-styling
  • OZG-7981-Statistik-Anzeige-von-Mandanten-2
  • wip-sebo-sebastian
  • fix-storybook
  • OZG-8314-Alfa-Vorgang-Bearbeiter-Zuweisung-entfernen
  • testing-imports
  • storybook-improvements
  • release-administration
  • OZG-8422-BenutzerSpeichern
  • release-info
  • release
  • 1.12.1-administration
  • 1.12.0-administration
  • 1.12.0-info
  • 2.27.0-alfa
  • 1.11.0-info
  • 1.11.0-administration
  • 2.26.0-alfa
  • 1.10.0-info
  • 1.10.0-administration
  • 2.25.0-alfa
  • 1.9.0-info
  • 1.9.0-administration
  • 2.24.0-alfa
  • 1.8.0-info
  • 1.8.0-administration
  • 2.23.0-alfa
  • 1.7.0-info
  • 1.7.0-administration
  • 2.22.0-alfa
  • 1.6.0-info
41 results

release-erstellen.sh

Blame
  • release-erstellen.sh 744 B
    #!/bin/sh
    
    if [ "$#" -ne 1 ]; then
        echo "Aufruf: ozg-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' {} +
    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)
    
    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"