From 7f3bbb7750fae71f208fd087796151b50fa47e11 Mon Sep 17 00:00:00 2001 From: Antonin Delpeuch Date: Mon, 28 Oct 2024 21:52:03 +0100 Subject: [PATCH 1/2] Fix zip archive structure. Fixes #83 --- pom.xml | 1 + src/assembly/extension.xml | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 42cd8ba..3d52a35 100644 --- a/pom.xml +++ b/pom.xml @@ -93,6 +93,7 @@ maven-assembly-plugin 3.7.1 + openrefine-commons-extension-${project.version} false src/assembly/extension.xml diff --git a/src/assembly/extension.xml b/src/assembly/extension.xml index fd1892a..c8f7fe1 100644 --- a/src/assembly/extension.xml +++ b/src/assembly/extension.xml @@ -2,21 +2,22 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd"> openrefine-commons-${openrefine.version} - false + true + commons-extension zip module/ - module/ + **/*.java src/main/resources/module - module + From ddca10fb2e43edebd46b0e8318b265e55c97db38 Mon Sep 17 00:00:00 2001 From: Antonin Delpeuch Date: Mon, 28 Oct 2024 22:17:43 +0100 Subject: [PATCH 2/2] Update release workflow --- .github/workflows/maven.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index b6bec7a..c39c351 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -45,7 +45,7 @@ jobs: uses: shogo82148/actions-upload-release-asset@v1.7.5 with: upload_url: ${{ steps.get_release_upload_url.outputs.upload_url }} - asset_path: ./target/openrefine-commons.zip - asset_name: openrefine-commons-${{ env.VERSION_STRING }}.zip + asset_path: ./target/openrefine-commons-extension-${{ env.VERSION_STRING }}.zip + asset_name: openrefine-commons-extension-${{ env.VERSION_STRING }}.zip asset_content_type: application/zip