From c18b19efb7b34e26e55d7c2b9d315cedc4d229d0 Mon Sep 17 00:00:00 2001 From: technoboy Date: Wed, 17 Nov 2021 15:47:13 +0800 Subject: [PATCH] Apply executable file permissions to py scripts. --- .github/workflows/ci-license.yaml | 2 +- distribution/io/pom.xml | 2 +- src/assembly-source-package.xml | 1 + src/{check-binary-license => check-binary-license.sh} | 0 src/{pulsar-io-gen => pulsar-io-gen.sh} | 0 5 files changed, 3 insertions(+), 2 deletions(-) rename src/{check-binary-license => check-binary-license.sh} (100%) rename src/{pulsar-io-gen => pulsar-io-gen.sh} (100%) diff --git a/.github/workflows/ci-license.yaml b/.github/workflows/ci-license.yaml index f706a1cd73bfb..e94d1913cacda 100644 --- a/.github/workflows/ci-license.yaml +++ b/.github/workflows/ci-license.yaml @@ -86,4 +86,4 @@ jobs: - name: license check if: ${{ steps.check_changes.outputs.docs_only != 'true' }} - run: src/check-binary-license ./distribution/server/target/apache-pulsar-*-bin.tar.gz + run: src/check-binary-license.sh ./distribution/server/target/apache-pulsar-*-bin.tar.gz diff --git a/distribution/io/pom.xml b/distribution/io/pom.xml index da2cbb628096c..b0abad738c67a 100644 --- a/distribution/io/pom.xml +++ b/distribution/io/pom.xml @@ -111,7 +111,7 @@ exec - ${project.basedir}/../../src/pulsar-io-gen + ${project.basedir}/../../src/pulsar-io-gen.sh ${project.basedir}/target/pulsar-io-gen.output conf diff --git a/src/assembly-source-package.xml b/src/assembly-source-package.xml index 2677299357f3f..676e603787e7d 100644 --- a/src/assembly-source-package.xml +++ b/src/assembly-source-package.xml @@ -90,6 +90,7 @@ /src *.sh + *.py 0755 diff --git a/src/check-binary-license b/src/check-binary-license.sh similarity index 100% rename from src/check-binary-license rename to src/check-binary-license.sh diff --git a/src/pulsar-io-gen b/src/pulsar-io-gen.sh similarity index 100% rename from src/pulsar-io-gen rename to src/pulsar-io-gen.sh