Skip to content

Commit

Permalink
Fix zip archive structure (#149)
Browse files Browse the repository at this point in the history
Fixes #83
  • Loading branch information
wetneb authored Oct 29, 2024
1 parent 0048758 commit 485ca32
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
uses: shogo82148/[email protected]
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

1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
<artifactId>maven-assembly-plugin</artifactId>
<version>3.7.1</version>
<configuration>
<finalName>openrefine-commons-extension-${project.version}</finalName>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>src/assembly/extension.xml</descriptor>
Expand Down
7 changes: 4 additions & 3 deletions src/assembly/extension.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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">
<id>openrefine-commons-${openrefine.version}</id>
<includeBaseDirectory>false</includeBaseDirectory>
<includeBaseDirectory>true</includeBaseDirectory>
<baseDirectory>commons-extension</baseDirectory>
<formats>
<format>zip</format>
</formats>
<fileSets>
<fileSet>
<directory>module/</directory>
<outputDirectory>module/</outputDirectory>
<outputDirectory></outputDirectory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</fileSet>
<fileSet>
<directory>src/main/resources/module</directory>
<outputDirectory>module</outputDirectory>
<outputDirectory></outputDirectory>
</fileSet>
</fileSets>
</assembly>

0 comments on commit 485ca32

Please sign in to comment.