Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix complete release workflow push issue #983

Merged
merged 2 commits into from
May 17, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .github/workflows/pass-complete-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ jobs:
- name: Push the Release commits and tags ~ Java Repositories
if: ${{ ! env.ALL_JAVA_REPOS_TAG_EXISTS }}
run: |
(cd main && git push --atomic origin --force $RELEASE)
(cd combined/pass-core && git push --atomic origin --force $RELEASE)
(cd combined/pass-support && git push --atomic origin --force $RELEASE)
(cd main && git push --atomic origin main --force $RELEASE)
(cd combined/pass-core && git push --atomic origin main --force $RELEASE)
(cd combined/pass-support && git push --atomic origin main --force $RELEASE)

- name: Create GitHub main release ~ Java Repositories
if: ${{ ! env.ALL_JAVA_REPOS_TAG_EXISTS }}
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:

- name: Push the Release commits and tags ~ pass-ui
if: ${{ ! env.PASS_UI_TAG_EXISTS }}
run: cd combined/pass-ui && git push --atomic origin --force $RELEASE
run: cd combined/pass-ui && git push --atomic origin main --force $RELEASE

- name: Create GitHub main release ~ pass-ui
if: ${{ ! env.PASS_UI_TAG_EXISTS }}
Expand All @@ -177,7 +177,7 @@ jobs:

- name: Push the Release commits and tags ~ pass-acceptance-testing
if: ${{ ! env.PASS_ACCPT_TEST_TAG_EXISTS }}
run: cd combined/pass-acceptance-testing && git push --atomic origin --force $RELEASE
run: cd combined/pass-acceptance-testing && git push --atomic origin main --force $RELEASE

- name: Create GitHub main release ~ pass-acceptance-testing
if: ${{ ! env.PASS_ACCPT_TEST_TAG_EXISTS }}
Expand Down Expand Up @@ -206,7 +206,7 @@ jobs:

- name: Push the Release commits and tags ~ pass-docker
if: ${{ ! env.PASS_DOCKER_TAG_EXISTS }}
run: cd combined/pass-docker && git push --atomic origin --force $RELEASE
run: cd combined/pass-docker && git push --atomic origin main --force $RELEASE

- name: Create GitHub main release ~ pass-docker
if: ${{ ! env.PASS_DOCKER_TAG_EXISTS }}
Expand Down Expand Up @@ -241,9 +241,9 @@ jobs:

- name: Push the Snapshot commits ~ Java Repositories
run: |
(cd main && git push --atomic origin --force $NEXT_TAG)
(cd combined/pass-core && git push --atomic origin --force $NEXT_TAG)
(cd combined/pass-support && git push --atomic origin --force $NEXT_TAG)
(cd main && git push --atomic origin main --force $NEXT_TAG)
(cd combined/pass-core && git push --atomic origin main --force $NEXT_TAG)
(cd combined/pass-support && git push --atomic origin main --force $NEXT_TAG)

- name: Set Snapshot/commit ~ pass-ui
uses: ./main/.github/actions/yarn-version
Expand All @@ -264,7 +264,7 @@ jobs:
run: docker push ghcr.io/eclipse-pass/pass-ui:$NEXT

- name: Push the Snapshot commits ~ pass-ui
run: cd combined/pass-ui && git push --atomic origin --force $NEXT_TAG
run: cd combined/pass-ui && git push --atomic origin main --force $NEXT_TAG

- name: Set Snapshot/commit ~ pass-acceptance-testing
uses: ./main/.github/actions/yarn-version
Expand All @@ -275,7 +275,7 @@ jobs:
RELEASE_TAG: ${{ env.NEXT_TAG }}

- name: Push the Snapshot commits ~ pass-acceptance-testing
run: cd combined/pass-acceptance-testing && git push --atomic origin --force $NEXT_TAG
run: cd combined/pass-acceptance-testing && git push --atomic origin main --force $NEXT_TAG

- name: Set Snapshot/commit ~ pass-docker
run: |
Expand All @@ -294,4 +294,4 @@ jobs:
docker push ghcr.io/eclipse-pass/idp:$NEXT

- name: Push the Snapshot commits ~ pass-docker
run: cd combined/pass-docker && git push --atomic origin --force $NEXT_TAG
run: cd combined/pass-docker && git push --atomic origin main --force $NEXT_TAG
Loading