From e0b074d35bf01a4ae4db2955c7ab9f5a318437f6 Mon Sep 17 00:00:00 2001 From: cccs-br Date: Thu, 28 Dec 2023 17:40:12 -0500 Subject: [PATCH 1/4] [chappie] bumped to 1.7.0-SNAPSHOT --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 5af296b..4457a79 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ io.github.cybercentrecanada spark-msgpack-datasource-3.5_2.12 jar - 1.6.0-SNAPSHOT + 1.7.0-SNAPSHOT spark-msgpack-datasource A spark datasource implementation for the msgpack file format. https://github.com/CybercentreCanada/spark-msgpack-datasource From 8260310efcf3b575021add1c9ac2a07a4b9d263b Mon Sep 17 00:00:00 2001 From: cccs-br <56260250+cccs-br@users.noreply.github.com> Date: Thu, 28 Dec 2023 17:56:21 -0500 Subject: [PATCH 2/4] Create maven-publish.yml --- .github/workflows/maven-publish.yml | 34 +++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/maven-publish.yml diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml new file mode 100644 index 0000000..dab69fe --- /dev/null +++ b/.github/workflows/maven-publish.yml @@ -0,0 +1,34 @@ +# 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 + +name: Maven Package + +on: + release: + types: [created] + +jobs: + build: + + runs-on: ubuntu-latest + permissions: + contents: read + packages: write + + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 11 + uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'temurin' + server-id: github # Value of the distributionManagement/repository/id field of the pom.xml + settings-path: ${{ github.workspace }} # location for the settings.xml file + + - name: Build with Maven + run: mvn -B package --file pom.xml + + - name: Publish to GitHub Packages Apache Maven + run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml + env: + GITHUB_TOKEN: ${{ github.token }} From 764cd3c66997bbd33f2f021d696a117ee732a04e Mon Sep 17 00:00:00 2001 From: cccs-br Date: Thu, 28 Dec 2023 17:57:07 -0500 Subject: [PATCH 3/4] Publish release --- .github/workflows/maven-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index dab69fe..f165a6d 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -1,7 +1,7 @@ # 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 -name: Maven Package +name: Publish Release on: release: From ac85c6f3fc3ee9cd319ace660e7c8cb930f6df88 Mon Sep 17 00:00:00 2001 From: cccs-br Date: Thu, 28 Dec 2023 18:01:14 -0500 Subject: [PATCH 4/4] Updated docs. --- README.fr.md | 5 +++-- README.md | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.fr.md b/README.fr.md index 2615497..713fab7 100644 --- a/README.fr.md +++ b/README.fr.md @@ -10,14 +10,15 @@ Une implémentation Spark Datasource pour MessagePack. * [msgpack-java](https://github.com/msgpack/msgpack-java) ## Coordonnées Maven +Nous publions toutes nos versions dans le référentiel central Maven: [spark-msgpack-datasource-3.5_2.12](https://central.sonatype.com/artifact/io.github.cybercentrecanada/spark-msgpack-datasource-3.5_2.12) + ```xml io.github.cybercentrecanada spark-msgpack-datasource-3.4_2.12 - 1.2.0 ``` -[spark-msgpack-datasource-3.5_2.12](https://central.sonatype.com/artifact/io.github.cybercentrecanada/spark-msgpack-datasource-3.5_2.12) + ## Lire et écrire les données msgpack: ```scala diff --git a/README.md b/README.md index b95ccb1..f48f6ae 100644 --- a/README.md +++ b/README.md @@ -10,14 +10,15 @@ A Spark Datasource implementation for MessagePack. * [msgpack-java](https://github.com/msgpack/msgpack-java) ## Maven Coordinates +We publish all our releases to maven central repository: [spark-msgpack-datasource-3.5_2.12](https://central.sonatype.com/artifact/io.github.cybercentrecanada/spark-msgpack-datasource-3.5_2.12) + ```xml io.github.cybercentrecanada spark-msgpack-datasource-3.5_2.12 - 1.2.0 ``` -[spark-msgpack-datasource-3.5_2.12](https://central.sonatype.com/artifact/io.github.cybercentrecanada/spark-msgpack-datasource-3.5_2.12) + ## Read and Write MessagePack data: