Skip to content

Commit

Permalink
Testing Version
Browse files Browse the repository at this point in the history
  • Loading branch information
OmOmofonmwan committed Jun 10, 2024
1 parent 7791009 commit 855c8c7
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions .github/workflows/release_poc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
echo " Snapshot Version -- ${{steps.newSnapshotVersion.outputs.SnapshotVersion}}"
echo " Release Version -- ${{steps.splitVersion.outputs._0}}"
set_and_build_release:
set_build_and_tag_release:
runs-on: ubuntu-latest
needs: initialization
permissions:
Expand Down Expand Up @@ -83,4 +83,26 @@ jobs:
sha: context.sha
})

set_build_and_tag_release:
runs-on: ubuntu-latest
needs:
- initialization
- set_build_and_tag_release
permissions:
contents: write
steps:
- name: Checkout Code Repository
uses: actions/checkout@v4
- name: Downloading Java
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Set Release Version
run: mvn -B versions:set -DnewVersion=${{needs.initialization.outputs.SNAPSHOT_VERSION}} -DgenerateBackupPoms=false
- name: Commit & Push
run: |
git add .
git commit -m 'Set next dev version to ${nextDevVersion}'
git push origin HEAD:${BRANCH_NAME}
git push --tags origin

0 comments on commit 855c8c7

Please sign in to comment.