Skip to content

Commit

Permalink
Pushes changed git branches
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Moyer committed Mar 12, 2020
1 parent e5bee04 commit 80e7b1d
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,15 @@ jobs:
export VERSION_TAG=`echo $GITHUB_REF | sed -n -e "s/.*\///gp"`
mvn -B clean build-helper:parse-version jgitflow:release-start -DreleaseVersion=$VERSION_TAG $MAVEN_ARGS
mvn -B jgitflow:release-finish -Dgpg.passphrase=$SIGNING_PASSPHRASE $MAVEN_ARGS
git checkout develop
git commit --amend -m '[skip-ci] Updating develop poms back to pre merge state'
git push --all --follow-tags
env:
SIGNING_PRIVATE: ${{ secrets.SIGNING_PRIVATE }}
SIGNING_PASSPHRASE: ${{ secrets.SIGNING_PASSPHRASE }}
OSSRH_USERNAME: aitci
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
MAVEN_ARGS: -DallowSnapshots=false -DallowUntracked=true -Psign-artifacts
SIGNING_PRIVATE: ${{ secrets.SIGNING_PRIVATE }}
SIGNING_PASSPHRASE: ${{ secrets.SIGNING_PASSPHRASE }}
OSSRH_USERNAME: aitci
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
MAVEN_ARGS: -DallowSnapshots=false -DallowUntracked=true -Psign-artifacts
# TODO: add steps to:
# - Version POMs
# - Update POM to next Snapshot version (on develop branch)
Expand Down

0 comments on commit 80e7b1d

Please sign in to comment.