-
Notifications
You must be signed in to change notification settings - Fork 707
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply changes from development branch to release branch
Signed-off-by: Mark S. Lewis <[email protected]>
- Loading branch information
1 parent
34147d6
commit 2b00586
Showing
28 changed files
with
170 additions
and
210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v[0-9]+.[0-9]+.[0-9]+' | ||
|
||
jobs: | ||
publish-github: | ||
name: Publish Java artifact to GitHub Packages | ||
runs-on: ubuntu-22.04 | ||
permissions: | ||
contents: read | ||
packages: write | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-java@v3 | ||
with: | ||
java-version: 8 | ||
distribution: temurin | ||
cache: maven | ||
gpg-private-key: ${{ secrets.OSSRH_GPG_SECRET_KEY }} | ||
gpg-passphrase: MAVEN_GPG_PASSPHRASE | ||
- name: Publish | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
MAVEN_GPG_PASSPHRASE: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} | ||
run: ${{ github.workspace }}/.github/scripts/maven_publish_release.sh github | ||
|
||
publish-ossrh: | ||
name: Publish Java artifact to Maven Central | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-java@v3 | ||
with: | ||
java-version: 8 | ||
distribution: temurin | ||
cache: maven | ||
server-id: ossrh | ||
server-username: MAVEN_USERNAME | ||
server-password: MAVEN_PASSWORD | ||
gpg-private-key: ${{ secrets.OSSRH_GPG_SECRET_KEY }} | ||
gpg-passphrase: MAVEN_GPG_PASSPHRASE | ||
- name: Publish | ||
env: | ||
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} | ||
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} | ||
MAVEN_GPG_PASSPHRASE: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} | ||
run: ${{ github.workspace }}/.github/scripts/maven_publish_release.sh ossrh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name: Scheduled build | ||
|
||
on: | ||
schedule: | ||
- cron: "5 0 * * *" | ||
|
||
jobs: | ||
main: | ||
uses: ./.github/workflows/test.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ env: | |
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,16 +7,16 @@ Maintainers | |
|------|--------|------|---------------------- | ||
| Andrew Coleman | [andrew-coleman][andrew-coleman] | andrew-coleman | [email protected] | | ||
| Mark Lewis | [bestbeforetoday][bestbeforetoday] | bestbeforetoday | [email protected] | | ||
| Gari Singh | [mastersingh24][mastersingh24] | mastersingh24 | <[email protected]> | ||
|
||
**Retired Maintainers** | ||
|
||
| Name | GitHub | email | | ||
|---|---|---| | ||
| Rick Rineholt | cr22rc | cr22rc@gmail.com | | ||
| Gari Singh | [mastersingh24][mastersingh24] | mastersingh24 | <gari.r.singh@gmail.com> | | ||
| Jim Zhang | jimthematrix | [email protected] | | ||
| Muhammad Altaf | malik-altaf | [email protected] | | ||
| Pardha Vishnumolakala| psaradhi | [email protected] | | ||
| Rick Rineholt | cr22rc | [email protected] | | ||
| Satheesh Kathamuthu | xspeedcruiser | [email protected] | | ||
|
||
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Releasing | ||
|
||
The following artifacts are created as a result of releasing the Hyperledger Fabric SDK for Java: | ||
|
||
- [fabric-sdk-java](https://central.sonatype.com/artifact/org.hyperledger.fabric-sdk-java/fabric-sdk-java/2.2.0/versions) | ||
|
||
## Before releasing | ||
|
||
The following tasks are required before releasing: | ||
|
||
- Check that the last merge or scheduled build for the release branch passed successfully. | ||
|
||
## Create release | ||
|
||
Creating a GitHub release on the [releases page](https://github.com/hyperledger/fabric-sdk-java/releases) will trigger the build to publish the new release. | ||
|
||
When drafting the release, create a new tag for the new version (with a `v` prefix), e.g. `vX.Y.Z` | ||
|
||
See previous releases for examples of the title and description. | ||
|
||
## After releasing | ||
|
||
The following tasks are required after releasing: | ||
|
||
- Update the `version` element in [pom.xml](pom.xml) to the next point release. |
Oops, something went wrong.