You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by gn...@apache.org on 2022/05/11 09:37:26 UTC
[maven-mvnd] branch master updated: configure execution bit for required scripts in source distribution (#643)
This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-mvnd.git
The following commit(s) were added to refs/heads/master by this push:
new 0092136 configure execution bit for required scripts in source distribution (#643)
0092136 is described below
commit 0092136cea14a2210e2682af727d5272da0b3fa7
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Wed May 11 10:37:21 2022 +0100
configure execution bit for required scripts in source distribution (#643)
---
.github/workflows/release.yaml | 2 +-
src/main/assembly/src.xml | 10 ++++++++++
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 3fc3f05..22df384 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -92,7 +92,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: 'Build source distribution'
- run: ./mvnw clean verify -Psource-distribution -pl :mvnd -Dmrm=false -B -ntp -e
+ run: ./mvnw clean verify -Psource-distribution -N -B -ntp -e
- name: 'Upload artifact'
uses: actions/upload-artifact@v2
diff --git a/src/main/assembly/src.xml b/src/main/assembly/src.xml
index 45225f0..816e05b 100644
--- a/src/main/assembly/src.xml
+++ b/src/main/assembly/src.xml
@@ -25,6 +25,16 @@ under the License.
<format>tar.gz</format>
</formats>
<fileSets>
+ <fileSet>
+ <directory>${project.basedir}</directory>
+ <outputDirectory>/</outputDirectory>
+ <includes>
+ <include>mvnw</include>
+ <include>native/docker/*</include>
+ <include>build/*.sh</include>
+ </includes>
+ <fileMode>0755</fileMode>
+ </fileSet>
<fileSet>
<directory>${project.basedir}</directory>
<outputDirectory>/</outputDirectory>