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: publish to OSSHR repository #188

Merged
merged 20 commits into from
Aug 7, 2024
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
dc8fd38
feat: add a beta branch and rust-init installer to the release flow
yshyn-iohk Aug 2, 2024
65972ac
chore(release): cut apollo version 1.4.0-beta.1 # [1.4.0-beta.1](http…
hyperledger-bot Aug 2, 2024
4ad87a6
chore: add --debug to the semantic-release
yshyn-iohk Aug 2, 2024
c730bf2
Merge remote-tracking branch 'origin/beta' into beta
yshyn-iohk Aug 2, 2024
b85edb7
feat: add --info to the CI
yshyn-iohk Aug 5, 2024
23e5be8
feat: rollback oss.sonatype url and upgrade a gradle-release-plugin t…
yshyn-iohk Aug 5, 2024
f86c4a2
chore(release): cut apollo version 1.4.0-beta.2 # [1.4.0-beta.2](http…
hyperledger-bot Aug 5, 2024
8dbd048
feat: add --info to the CI
yshyn-iohk Aug 6, 2024
1fa8205
feat: add --info to the CI
yshyn-iohk Aug 6, 2024
7a23cc9
Merge remote-tracking branch 'origin/beta' into beta
yshyn-iohk Aug 6, 2024
56824ec
feat: replace maven section with nexusPublishing
yshyn-iohk Aug 6, 2024
b9c27e7
chore(release): cut apollo version 1.4.0-beta.3 # [1.4.0-beta.3](http…
hyperledger-bot Aug 6, 2024
2e1ee7d
feat: publish update
yshyn-iohk Aug 6, 2024
31f0161
feat: update the publishing info
yshyn-iohk Aug 6, 2024
9303d4c
Merge remote-tracking branch 'origin/beta' into beta
yshyn-iohk Aug 6, 2024
9d06272
chore(release): cut apollo version 1.4.0-beta.4 # [1.4.0-beta.4](http…
hyperledger-bot Aug 6, 2024
223fb03
Merge remote-tracking branch 'refs/remotes/origin/main' into beta
yshyn-iohk Aug 7, 2024
06e7e89
feat: cleanup the branch and prepare for PR
yshyn-iohk Aug 7, 2024
460c07d
chore: fix build.gradle.kts file after merging
yshyn-iohk Aug 7, 2024
e656c53
fix: formatting in the build.gradle.kts file
yshyn-iohk Aug 7, 2024
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
Prev Previous commit
Next Next commit
feat: cleanup the branch and prepare for PR
Signed-off-by: Yurii Shynbuiev <[email protected]>
yshyn-iohk committed Aug 7, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 06e7e8906cf745fedab8760fdafad7163acfe490
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -42,6 +42,7 @@ jobs:

- name: "Install Java ${{ env.JAVA_VERSION }}"
uses: actions/setup-java@v4
continue-on-error: true

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wait
why this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for asking.
For some reason, the release flow fails at the Post Install Task
For instance, here: https://github.com/hyperledger/identus-apollo/actions/runs/10279883067
The entire release fails even if the packages are published and the chore commit is pushed.

I could not find a solution for this now except to add continue-on-error to the Post Install Java 17 task.

image

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#189 for tracking

with:
java-version: "${{ env.JAVA_VERSION }}"
distribution: zulu
@@ -106,7 +107,7 @@ jobs:
id: import_gpg
with:
gpg_private_key: ${{ secrets.HYP_BOT_GPG_PRIVATE }}
passphrase: ${{ secrets.HYP_BOT_GPG_PASSWORD }}
passphrase: ${{ secrets.HYP_BOT_GPG_PASSWORD }}
git_user_signingkey: true
git_commit_gpgsign: true
git_config_global: true
@@ -136,4 +137,4 @@ jobs:
OSSRH_GPG_SECRET_KEY_PASSWORD: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}
run: |
npm install
npx semantic-release --info
npx semantic-release
6 changes: 0 additions & 6 deletions apollo/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -931,10 +931,4 @@ afterEvaluate {
this.enabled = false
}
}
tasks.named("runKtlintCheckOverAndroidMainSourceSet") {
enabled = false
}
tasks.named("runKtlintCheckOverJvmMainSourceSet") {
enabled = false
}
}