This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| clic:mvn --maven-reference com.worldline.clic:example.remote-shell.myconfig:1.0.0-SNAPSHOT --generate-pom --maven-command antrun:run -Dpassphrase=mySecretPassphrase -Dusername=myself -Dcommand='uname -a' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # oc-postgre-backup | |
| # creates a backup file for a postgre database running on an openshift pod | |
| # ------------------ | |
| # requires: | |
| # - oc - openshift client, allowing connecting to the postgre pod | |
| # - pg_dump - part of the postgresql package, allowing creating the dump file from the database | |
| # ------------------ | |
| # arguments: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| BASE=1.19 # or whatever; last release compatible with targeted core or other deps | |
| BASETAG=mystuff-${BASE} # or as per http://maven.apache.org/maven-release/maven-release-plugin/prepare-mojo.html#tagNameFormat | |
| FIX=abcd1234 # whatever the backportable fix was, in master or somewhere newer than $BASE | |
| git checkout -b ${BASE}.x $(git log --reverse --ancestry-path --pretty=%H ${BASETAG}..master | head -1) | |
| # or for JEP-305 (“Incrementals”) use: mvn versions:set-property -Dproperty=revision -DnewVersion=${BASE}.1 | |
| mvn versions:set -DnewVersion=${BASE}.1-SNAPSHOT -DgenerateBackupPoms=false | |
| git commit -a -m "Prepare for ${BASE}.1" | |
| git push -u origin ${BASE}.x | |
| git cherry-pick -x -m1 $FIX | |
| mvn -B release:{prepare,perform} |
OlderNewer