Skip to content

Commit

Permalink
Pull version.txt from develop branch before merging into nightly, lil…
Browse files Browse the repository at this point in the history
…liput, and generational-shenandoah to avoid merge conflicts. (#79)
  • Loading branch information
synecdoche authored Oct 18, 2024
1 parent cb6f9ca commit fbbac25
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/refresh-jdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,16 @@ jobs:
shell: bash
run: |
git checkout nightly
git restore --source origin/$LOCAL_BRANCH --staged --worktree -- version.txt
git commit -m "Automerged version.txt from $LOCAL_BRANCH to nightly" || true
git merge origin/$LOCAL_BRANCH
git push origin nightly
- name: "Merge Corretto-21 develop to lilliput"
shell: bash
run: |
git checkout lilliput
git restore --source origin/$LOCAL_BRANCH --staged --worktree -- version.txt
git commit -m "Automerged version.txt from $LOCAL_BRANCH to lilliput" || true
git merge origin/$LOCAL_BRANCH
git push origin lilliput
- name: "Merge openjdk/shenandoah-jdk21u:master to generational-shenandoah"
Expand All @@ -55,5 +59,7 @@ jobs:
shell: bash
run: |
git checkout $LOCAL_SHENANDOAH
git restore --source origin/$LOCAL_BRANCH --staged --worktree -- version.txt
git commit -m "Automerged version.txt from $LOCAL_BRANCH to $LOCAL_SHENANDOAH" || true
git merge origin/$LOCAL_BRANCH
git push origin $LOCAL_SHENANDOAH

0 comments on commit fbbac25

Please sign in to comment.