From 6777feaf4d9ef719b3ea11e0bc00b109897dca8d Mon Sep 17 00:00:00 2001 From: akafredperry Date: Wed, 25 Mar 2026 11:54:18 +0000 Subject: [PATCH 01/11] feat: release workflow to publish tagged versions --- .github/workflows/release.yml | 131 ++++++++++++++++++ .../{maven-deploy.yml => snapshot-deploy.yml} | 3 +- CHANGELOG.md | 4 +- at_client/README.md | 2 +- at_shell/pom.xml | 3 + at_utils/pom.xml | 3 + config/CHANGELOG.mustache | 58 ++++++++ examples/pom.xml | 8 ++ pom.xml | 21 +++ 9 files changed, 229 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/release.yml rename .github/workflows/{maven-deploy.yml => snapshot-deploy.yml} (84%) create mode 100644 config/CHANGELOG.mustache diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..c6df1281 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,131 @@ +name: Release + +on: + workflow_dispatch: + inputs: + release_version: + description: 'The release version (will infer from current -SNAPSHOT)' + required: false + default: '' + next_version: + description: 'The next dev version (will infer from release version)' + required: false + default: '' + push: + branches: + - java_release_process + +permissions: + contents: write + +concurrency: + group: release + cancel-in-progress: false + +jobs: + release: + runs-on: ubuntu-latest + steps: + + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Import GPG key and upload to keyserver + run: | + echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --batch --no-tty --import + KEY_ID=$(gpg --list-keys --keyid-format LONG | grep pub | awk '{print $2}' | cut -d'/' -f2) + echo "Key ID is: $KEY_ID" + gpg --batch --no-tty --keyserver keyserver.ubuntu.com --send-keys $KEY_ID + gpg --batch --no-tty --keyserver keys.openpgp.org --send-keys $KEY_ID + exit 0 + + - name: Set up JDK 11 + uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0 + with: + java-version: '11' + distribution: 'temurin' + server-id: central # Value of the distributionManagement/repository/id field of the pom.xml + server-username: "CENTRAL_USERNAME" # env variable for username in deploy + server-password: "CENTRAL_TOKEN" # env variable for token in deploy + gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} # Value of the GPG private key to import + gpg-passphrase: "GPG_PASSPHRASE" # env variable for GPG private key passphrase + + - name: Add virtual env entry to hosts file + run: echo "127.0.0.1 vip.ve.atsign.zone" | sudo tee -a /etc/hosts + + - name: Configure git + run: | + git config user.name "github-actions" + git config user.email "github-actions@github.com" + + - name: Read project version + id: version + run: | + VERSION=$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec) + echo "current=$VERSION" >> $GITHUB_OUTPUT + + - name: Compute versions + id: compute + run: | + if [ -n "${{ inputs.release_version }}" ]; then + RELEASE=${{ inputs.release_version }} + else + CURRENT="${{ steps.version.outputs.current }}" + if [[ "$CURRENT" != *-SNAPSHOT ]]; then + echo "Project is not a SNAPSHOT version" + exit 1 + fi + RELEASE=${CURRENT%-SNAPSHOT} + fi + if [ -n "${{ inputs.next_version }}" ]; then + NEXT="${{ inputs.next_version }}" + [[ "NEXT" != *-SNAPSHOT ]] && NEXT="${NEXT}-SNAPSHOT" + else + BASE=${RELEASE%.*} + PATCH=${RELEASE##*.} + NEXT_PATCH=$((PATCH + 1)) + NEXT="$BASE.$NEXT_PATCH-SNAPSHOT" + fi + echo "release=$RELEASE" >> $GITHUB_OUTPUT + echo "next=$NEXT" >> $GITHUB_OUTPUT + echo "Release version: $RELEASE" + echo "Next snapshot: $NEXT" + + - name: Update README + run: | + find . -type f -name "README.md" -exec \ + sed -i -E \ + -e "s|.+[0-9]|${{ steps.compute.outputs.release }}|" \ + -e "s|.+-SNAPSHOT|${{ steps.compute.outputs.next }}|" \ + {} \; + + - name: Set release version + run: | + mvn -B versions:set -DnewVersion=${{ steps.compute.outputs.release }} + mvn -B versions:commit + git commit -am "build: release ${{ steps.compute.outputs.release }}" + + - name: Tag release + run: | + git tag -a v${{ steps.compute.outputs.release }} -m "build: release ${{ steps.compute.outputs.release }}" + + - name: Regenerate CHANGELOG.md + run: mvn -pl . git-changelog-maven-plugin:git-changelog + + - name: Publish to Central + run: mvn deploy --batch-mode --no-transfer-progress -DskipTests # remove skipTests when working + env: + CENTRAL_USERNAME: ${{ secrets.CENTRAL_USERNAME }} + CENTRAL_TOKEN: ${{ secrets.CENTRAL_TOKEN }} + GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} + + - name: Set next snapshot + run: | + mvn -B versions:set -DnewVersion=${{ steps.compute.outputs.next }} + mvn -B versions:commit + git commit -am "chore: next release ${{ steps.compute.outputs.next }}" + + - name: Push commits and tags + run: git push --follow-tags diff --git a/.github/workflows/maven-deploy.yml b/.github/workflows/snapshot-deploy.yml similarity index 84% rename from .github/workflows/maven-deploy.yml rename to .github/workflows/snapshot-deploy.yml index 6d56c844..1235f484 100644 --- a/.github/workflows/maven-deploy.yml +++ b/.github/workflows/snapshot-deploy.yml @@ -1,5 +1,4 @@ -# This workflow will build a package using Maven and then publish it to GitHub packages when a release is created -# For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#apache-maven-with-a-settings-path +# This workflow will build and deploy the artifacts for the trunk branch name: Deploy to Central Portal diff --git a/CHANGELOG.md b/CHANGELOG.md index 45888eac..abba5896 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,6 @@ -# What's here / changelog +# Changelog + +## [Unreleased] ## Next diff --git a/at_client/README.md b/at_client/README.md index f4c93bff..0b72de79 100644 --- a/at_client/README.md +++ b/at_client/README.md @@ -77,7 +77,7 @@ as a dependency in your pom.xml. org.slf4j slf4j-simple - 2.0.13 + ${version.slf4j} ``` diff --git a/at_shell/pom.xml b/at_shell/pom.xml index bcabeb65..abcfb02a 100644 --- a/at_shell/pom.xml +++ b/at_shell/pom.xml @@ -12,6 +12,9 @@ at_shell + at_shell + atsign Java shell + ../config/java-format.xml ../config/checkstyle.xml diff --git a/at_utils/pom.xml b/at_utils/pom.xml index 271c61d5..679cba85 100644 --- a/at_utils/pom.xml +++ b/at_utils/pom.xml @@ -12,6 +12,9 @@ at_utils + at_utils + atsign Java utils + ../config/java-format.xml ../config/checkstyle.xml diff --git a/config/CHANGELOG.mustache b/config/CHANGELOG.mustache new file mode 100644 index 00000000..859965ab --- /dev/null +++ b/config/CHANGELOG.mustache @@ -0,0 +1,58 @@ +# Changelog + +{{#tags}} +{{#ifEquals name "Unreleased"}} +## Unreleased + +{{#ifContainsType commits type='feat'}} +### Features +{{#commits}} +{{#ifCommitType . type='feat'}} +- {{#eachCommitScope .}}**{{.}}**: {{/eachCommitScope}}{{{commitDescription .}}} +{{/ifCommitType}} +{{/commits}} +{{/ifContainsType}} + +{{#ifContainsType commits type='fix'}} +### Bug Fixes +{{#commits}} +{{#ifCommitType . type='fix'}} +- {{#eachCommitScope .}}**{{.}}**: {{/eachCommitScope}}{{{commitDescription .}}} +{{/ifCommitType}} +{{/commits}} +{{/ifContainsType}} + +{{/ifEquals}} + +{{#ifReleaseTag .}} +## {{name}} ({{tagDate .}}) + +{{#ifContainsType commits type='feat'}} +### Features +{{#commits}} +{{#ifCommitType . type='feat'}} +- {{#eachCommitScope .}}**{{.}}**: {{/eachCommitScope}}{{{commitDescription .}}} + {{/ifCommitType}} + {{/commits}} + {{/ifContainsType}} + +{{#ifContainsType commits type='fix'}} +### Bug Fixes +{{#commits}} +{{#ifCommitType . type='fix'}} +- {{#eachCommitScope .}}**{{.}}**: {{/eachCommitScope}}{{{commitDescription .}}} + {{/ifCommitType}} + {{/commits}} + {{/ifContainsType}} + +{{#ifContainsBreaking commits}} +### Breaking Changes +{{#commits}} +{{#ifCommitBreaking .}} +- {{#eachCommitScope .}}**{{.}}**: {{/eachCommitScope}}{{{commitDescription .}}} + {{/ifCommitBreaking}} + {{/commits}} + {{/ifContainsBreaking}} + +{{/ifReleaseTag}} +{{/tags}} \ No newline at end of file diff --git a/examples/pom.xml b/examples/pom.xml index 90ed1510..50adc86e 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -38,6 +38,14 @@ + + org.sonatype.central + central-publishing-maven-plugin + + true + + + diff --git a/pom.xml b/pom.xml index 86bd667e..a969883a 100644 --- a/pom.xml +++ b/pom.xml @@ -406,10 +406,31 @@ + + + org.apache.maven.plugins + maven-gpg-plugin + + org.sonatype.central central-publishing-maven-plugin + + + se.bjurr.gitchangelog + git-changelog-maven-plugin + 2.1.0 + + config/CHANGELOG.mustache + CHANGELOG.md + + ^(?!(feat|fix|docs|style|refactor|test|chore|perf|revert)).* + + startchangelog + + + From 97f2bcbd103c45023cb4675f32d3729901f1cbc9 Mon Sep 17 00:00:00 2001 From: github-actions Date: Sun, 29 Mar 2026 12:13:09 +0000 Subject: [PATCH 02/11] build: release 0.0.1 --- at_client/README.md | 4 ++-- at_client/pom.xml | 2 +- at_shell/pom.xml | 2 +- at_utils/pom.xml | 2 +- examples/pom.xml | 2 +- pom.xml | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/at_client/README.md b/at_client/README.md index 0b72de79..4ba3dd78 100644 --- a/at_client/README.md +++ b/at_client/README.md @@ -12,7 +12,7 @@ If you are using maven, add the following to your pom.xml org.atsign at_client - 1.0.0 + 0.0.1 ``` @@ -49,7 +49,7 @@ The latest snapshot version can be added as a maven dependency like this... org.atsign at_client - 1.0.1-SNAPSHOT + 0.0.2-SNAPSHOT ``` diff --git a/at_client/pom.xml b/at_client/pom.xml index 7b679b6c..0ccdb572 100644 --- a/at_client/pom.xml +++ b/at_client/pom.xml @@ -6,7 +6,7 @@ org.atsign at_java_parent - 0.0.1-SNAPSHOT + 0.0.1 at_client diff --git a/at_shell/pom.xml b/at_shell/pom.xml index abcfb02a..bfa3208e 100644 --- a/at_shell/pom.xml +++ b/at_shell/pom.xml @@ -7,7 +7,7 @@ org.atsign at_java_parent - 0.0.1-SNAPSHOT + 0.0.1 at_shell diff --git a/at_utils/pom.xml b/at_utils/pom.xml index 679cba85..0952c3f7 100644 --- a/at_utils/pom.xml +++ b/at_utils/pom.xml @@ -7,7 +7,7 @@ org.atsign at_java_parent - 0.0.1-SNAPSHOT + 0.0.1 at_utils diff --git a/examples/pom.xml b/examples/pom.xml index 50adc86e..f85332b2 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -7,7 +7,7 @@ org.atsign at_java_parent - 0.0.1-SNAPSHOT + 0.0.1 examples diff --git a/pom.xml b/pom.xml index a969883a..d4cb7dc1 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ org.atsign at_java_parent - 0.0.1-SNAPSHOT + 0.0.1 pom at_java_parent From 2e01642b24bf35e3f284e411a150fc3c49fe07ee Mon Sep 17 00:00:00 2001 From: github-actions Date: Sun, 29 Mar 2026 12:14:11 +0000 Subject: [PATCH 03/11] chore: next release 0.0.2-SNAPSHOT --- CHANGELOG.md | 85 ++++++++--------------------------------------- at_client/pom.xml | 2 +- at_shell/pom.xml | 2 +- at_utils/pom.xml | 2 +- examples/pom.xml | 2 +- pom.xml | 2 +- 6 files changed, 19 insertions(+), 76 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index abba5896..4830c534 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,78 +1,21 @@ # Changelog -## [Unreleased] -## Next +## v0.0.1 (2026-03-29) -* Getting started guide - from nothing to end-to-end-encrypted chat session in -< 5 minutes -* fluid client APIs for sharing data - e.g. -share(value).with(atSign/s).as(keyName) -* extend client REPL so that you can call AtClient methods (e.g. the -share() above) interactively +### Features +- release workflow to publish tagged versions +- add support for populating and using sharedKeyEnc (and associated fields) +- support for binary key values (#374) +- updated build to jdk 11 (#355) +- migrate to multimodule, consolidate dependency management and plugin configuration into parent pom. (#350) +- adds spotless and checkstyle plugins to maven build lifecycle. reformats and adjusts code to pass checkstyle, spotless and codeql rulesfeat: removed lint from markdown files +- support for apkam authentication model plus the onboarding and enrollment workflow. added support for ivNonce field in key metadata, enhanced implementation to use random IVs when encrypting/decrypting data, writing/reading iv to/from meta data. added version field to atKeys JSON -## May 29 2022 +### Bug Fixes +- replace boilerplate code and consolidate common classes +- corrected javadoc. javadoc plugin is now configured to fail on error. checkstyle has been expanded to enforce class comments (#356) +- removed direct output to stderr and stdout in core library code, CLI and examples still use System.out/err, replaced with slf4j using lombok annotations +- enhance KeyStringUtil so that it parses namespaces (#326) -* Retry bug fixed in Register CLI -* Config yaml parameters restructured and backwards compatibility provided -so as not to break existing usage. -* New parameter added to validateOtp method in RegisterUtil.java. The usage -of this parameter is provided in java docs of the respective method. -## May 18 2022 - -* A new CLI tool Register has been introduced which can acquire a free atsign -and register it to the provided email. -* Register CLI also handles calling the Onboard client with the cram secret -which was received during the registration process. - -## May 03 2022 - -* Better event distribution -* Improved Monitor's event generation -* Added 'userDefined' to the AtEventType enum, to allow the event bus to be -used by application code -* Caches shared keys after first retrieval -* AtClientImpl listens for updateNotification events, decrypts the ciphertext -on-the-fly, and publishes a decryptedUpdateNotification which is more useful -for application code -* Enhanced REPL to optionally listen to only decryptedUpdateNotification; -added command-line flag to listen to both - -## Apr 29 2022 - -* **at_client** : Initial implementation of Java client library for the -atPlatform. README will come soon but here's a very brief summary which -will get you going if you already know the basics of the atPlatform and have -used the Dart/Flutter packages. - -### Using Maven - -The Maven target you want is 'install' which will put things in the 'target' -output directory - -### CLI tools - -Will give you the best overview of how to use the library as a whole. There -are five CLIs in the initial commit: - -* **Activate** - generate keys for a new @-sign. If you already have a .keys -file, you can reuse it. Currently, the Java library expects keys for @alice -to be in ./keys/@alice.keys. -* **REPL** - you can use this to type @-protocol commands and see responses; -but the best thing about the REPL currently is that it shows the data -notifications as they are received. The REPL code has th eessentials of what -a 'receiving' client needs to do - i.e. - * create an AtClient - * add an event listener which - * receives data update/delete notification events (the event data contains - the ciphertext) - * calls 'get' to decrypt - * **Share** - a simple 'sender' client - shares some data with another @-sign - * **Get** - gets data which was shared by another @-sign - * **Delete** - deletes data that this Atsign previously shared with another - -**Note:** -As of May 3 2022, the Java client library can still be considered a 1.0.0-Beta -version - i.e. there may occasionally be breaking changes, based on feedback -from users of the library, until we get to a final version 1.0.0 diff --git a/at_client/pom.xml b/at_client/pom.xml index 0ccdb572..efcbb274 100644 --- a/at_client/pom.xml +++ b/at_client/pom.xml @@ -6,7 +6,7 @@ org.atsign at_java_parent - 0.0.1 + 0.0.2-SNAPSHOT at_client diff --git a/at_shell/pom.xml b/at_shell/pom.xml index bfa3208e..1cdb3a95 100644 --- a/at_shell/pom.xml +++ b/at_shell/pom.xml @@ -7,7 +7,7 @@ org.atsign at_java_parent - 0.0.1 + 0.0.2-SNAPSHOT at_shell diff --git a/at_utils/pom.xml b/at_utils/pom.xml index 0952c3f7..1166edfa 100644 --- a/at_utils/pom.xml +++ b/at_utils/pom.xml @@ -7,7 +7,7 @@ org.atsign at_java_parent - 0.0.1 + 0.0.2-SNAPSHOT at_utils diff --git a/examples/pom.xml b/examples/pom.xml index f85332b2..eed80291 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -7,7 +7,7 @@ org.atsign at_java_parent - 0.0.1 + 0.0.2-SNAPSHOT examples diff --git a/pom.xml b/pom.xml index d4cb7dc1..c8a42cc6 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ org.atsign at_java_parent - 0.0.1 + 0.0.2-SNAPSHOT pom at_java_parent From dcfddf242dae809508fd35a08b236e7ae76b6677 Mon Sep 17 00:00:00 2001 From: akafredperry Date: Sun, 29 Mar 2026 13:43:40 +0100 Subject: [PATCH 04/11] chore: remove branch trigger, gpg key upload and skip tests --- .github/workflows/release.yml | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c6df1281..0feebecc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,9 +11,6 @@ on: description: 'The next dev version (will infer from release version)' required: false default: '' - push: - branches: - - java_release_process permissions: contents: write @@ -32,14 +29,14 @@ jobs: with: fetch-depth: 0 - - name: Import GPG key and upload to keyserver - run: | - echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --batch --no-tty --import - KEY_ID=$(gpg --list-keys --keyid-format LONG | grep pub | awk '{print $2}' | cut -d'/' -f2) - echo "Key ID is: $KEY_ID" - gpg --batch --no-tty --keyserver keyserver.ubuntu.com --send-keys $KEY_ID - gpg --batch --no-tty --keyserver keys.openpgp.org --send-keys $KEY_ID - exit 0 +# - name: Import GPG key and upload to keyserver +# run: | +# echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --batch --no-tty --import +# KEY_ID=$(gpg --list-keys --keyid-format LONG | grep pub | awk '{print $2}' | cut -d'/' -f2) +# echo "Key ID is: $KEY_ID" +# gpg --batch --no-tty --keyserver keyserver.ubuntu.com --send-keys $KEY_ID +# gpg --batch --no-tty --keyserver keys.openpgp.org --send-keys $KEY_ID +# exit 0 - name: Set up JDK 11 uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0 @@ -115,7 +112,7 @@ jobs: run: mvn -pl . git-changelog-maven-plugin:git-changelog - name: Publish to Central - run: mvn deploy --batch-mode --no-transfer-progress -DskipTests # remove skipTests when working + run: mvn deploy --batch-mode --no-transfer-progress env: CENTRAL_USERNAME: ${{ secrets.CENTRAL_USERNAME }} CENTRAL_TOKEN: ${{ secrets.CENTRAL_TOKEN }} From f30b5081ecef7d580935fe468b46535e50cde22d Mon Sep 17 00:00:00 2001 From: akafredperry Date: Sun, 29 Mar 2026 16:07:53 +0100 Subject: [PATCH 05/11] chore: test auto publish --- .github/workflows/release.yml | 3 +++ README.md | 22 ++++++++++++++++++++++ pom.xml | 1 + 3 files changed, 26 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0feebecc..7b964d7d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,6 +11,9 @@ on: description: 'The next dev version (will infer from release version)' required: false default: '' + push: + branches: + - java_release_process permissions: contents: write diff --git a/README.md b/README.md index 7deae505..65c82936 100644 --- a/README.md +++ b/README.md @@ -166,6 +166,28 @@ config/java-format.xml 2. Add **CheckStyle-IDEA** plugin and configure in **Settings -> Tools -> Checkstyle** by adding config/checkstyle.xml + +## Releases + +The workflow [release.yml](.github/workflows/release.yml) can be triggered from the GitHub UI. +This will perform the following... + +* Modify the pom versions +* Update the READMEs and CHANGELOG +* Commit those changes and create a tag that corresponds to the version +* Deploy the artifact to Maven Central https://central.sonatype.com/search?q=atsign +* Increment the pom versions to the next SNAPSHOT +* Commit those changes +* Push the commits and tag + +The workflow accepts the following overrides... + +* **release_version** the version/tag to publish/tag (e.g. 1.2.0). + If this is not specified then this is inferred from the current SNAPSHOT version. +* **next_version** the version for the next dev cycle (e.g. 1.2.1-SNAPSHOT). + If this is not specified then this is inferred from the release version. + NOTE: it is not necessary to provide the -SNAPSHOT suffix. + ## Contributions welcome All of our software is open with intent. We welcome contributions - we want diff --git a/pom.xml b/pom.xml index c8a42cc6..e16b9420 100644 --- a/pom.xml +++ b/pom.xml @@ -274,6 +274,7 @@ true central + true From c3ba4b8434d99839d18d02291725858a733260c3 Mon Sep 17 00:00:00 2001 From: github-actions Date: Sun, 29 Mar 2026 15:08:25 +0000 Subject: [PATCH 06/11] build: release 0.0.2 --- at_client/README.md | 4 ++-- at_client/pom.xml | 2 +- at_shell/pom.xml | 2 +- at_utils/pom.xml | 2 +- examples/pom.xml | 2 +- pom.xml | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/at_client/README.md b/at_client/README.md index 4ba3dd78..cbb1230e 100644 --- a/at_client/README.md +++ b/at_client/README.md @@ -12,7 +12,7 @@ If you are using maven, add the following to your pom.xml org.atsign at_client - 0.0.1 + 0.0.2 ``` @@ -49,7 +49,7 @@ The latest snapshot version can be added as a maven dependency like this... org.atsign at_client - 0.0.2-SNAPSHOT + 0.0.3-SNAPSHOT ``` diff --git a/at_client/pom.xml b/at_client/pom.xml index efcbb274..2d5980c8 100644 --- a/at_client/pom.xml +++ b/at_client/pom.xml @@ -6,7 +6,7 @@ org.atsign at_java_parent - 0.0.2-SNAPSHOT + 0.0.2 at_client diff --git a/at_shell/pom.xml b/at_shell/pom.xml index 1cdb3a95..667cee50 100644 --- a/at_shell/pom.xml +++ b/at_shell/pom.xml @@ -7,7 +7,7 @@ org.atsign at_java_parent - 0.0.2-SNAPSHOT + 0.0.2 at_shell diff --git a/at_utils/pom.xml b/at_utils/pom.xml index 1166edfa..3dc9b5ce 100644 --- a/at_utils/pom.xml +++ b/at_utils/pom.xml @@ -7,7 +7,7 @@ org.atsign at_java_parent - 0.0.2-SNAPSHOT + 0.0.2 at_utils diff --git a/examples/pom.xml b/examples/pom.xml index eed80291..af18b460 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -7,7 +7,7 @@ org.atsign at_java_parent - 0.0.2-SNAPSHOT + 0.0.2 examples diff --git a/pom.xml b/pom.xml index e16b9420..c188ab74 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ org.atsign at_java_parent - 0.0.2-SNAPSHOT + 0.0.2 pom at_java_parent From 61fbffe3990931c623493cdc56da9d58ac783705 Mon Sep 17 00:00:00 2001 From: github-actions Date: Sun, 29 Mar 2026 15:12:49 +0000 Subject: [PATCH 07/11] chore: next release 0.0.3-SNAPSHOT --- CHANGELOG.md | 2 +- at_client/pom.xml | 2 +- at_shell/pom.xml | 2 +- at_utils/pom.xml | 2 +- examples/pom.xml | 2 +- pom.xml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4830c534..a6518ab2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ # Changelog -## v0.0.1 (2026-03-29) +## v0.0.2 (2026-03-29) ### Features - release workflow to publish tagged versions diff --git a/at_client/pom.xml b/at_client/pom.xml index 2d5980c8..20334967 100644 --- a/at_client/pom.xml +++ b/at_client/pom.xml @@ -6,7 +6,7 @@ org.atsign at_java_parent - 0.0.2 + 0.0.3-SNAPSHOT at_client diff --git a/at_shell/pom.xml b/at_shell/pom.xml index 667cee50..ee09badf 100644 --- a/at_shell/pom.xml +++ b/at_shell/pom.xml @@ -7,7 +7,7 @@ org.atsign at_java_parent - 0.0.2 + 0.0.3-SNAPSHOT at_shell diff --git a/at_utils/pom.xml b/at_utils/pom.xml index 3dc9b5ce..494117a4 100644 --- a/at_utils/pom.xml +++ b/at_utils/pom.xml @@ -7,7 +7,7 @@ org.atsign at_java_parent - 0.0.2 + 0.0.3-SNAPSHOT at_utils diff --git a/examples/pom.xml b/examples/pom.xml index af18b460..8628c5dd 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -7,7 +7,7 @@ org.atsign at_java_parent - 0.0.2 + 0.0.3-SNAPSHOT examples diff --git a/pom.xml b/pom.xml index c188ab74..28752581 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ org.atsign at_java_parent - 0.0.2 + 0.0.3-SNAPSHOT pom at_java_parent From 79f9be1a3c7237c6b6ddf0437fda0f2502166ee8 Mon Sep 17 00:00:00 2001 From: akafredperry Date: Sun, 29 Mar 2026 16:18:31 +0100 Subject: [PATCH 08/11] chore: remove on.branch trigger that was used for testing --- .github/workflows/release.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7b964d7d..0feebecc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,9 +11,6 @@ on: description: 'The next dev version (will infer from release version)' required: false default: '' - push: - branches: - - java_release_process permissions: contents: write From 04e92ed831007d52a47d9ad0eb07b18bac35f17c Mon Sep 17 00:00:00 2001 From: akafredperry Date: Mon, 30 Mar 2026 11:24:32 +0100 Subject: [PATCH 09/11] build: use SHA qualified v6 checkout action --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0feebecc..628c45e0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: fetch-depth: 0 From 6b0b9f91df3e0463548c563388cacc9e8e647bf6 Mon Sep 17 00:00:00 2001 From: akafredperry Date: Mon, 30 Mar 2026 12:32:07 +0100 Subject: [PATCH 10/11] build: move permissions write into release job --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 628c45e0..7ca5d349 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,9 +12,6 @@ on: required: false default: '' -permissions: - contents: write - concurrency: group: release cancel-in-progress: false @@ -22,6 +19,9 @@ concurrency: jobs: release: runs-on: ubuntu-latest + permissions: + contents: write + steps: - name: Checkout From 344303d9c82b108ea3660a7338fd99194b2e151e Mon Sep 17 00:00:00 2001 From: akafredperry Date: Mon, 30 Mar 2026 13:00:44 +0100 Subject: [PATCH 11/11] build: adjust git configuration for user which is commiting changes --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7ca5d349..13ffaad2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -54,8 +54,8 @@ jobs: - name: Configure git run: | - git config user.name "github-actions" - git config user.email "github-actions@github.com" + git config user.name 'library-action[bot]' + git config user.email '41898282+github-actions[bot]@users.noreply.github.com' - name: Read project version id: version