File tree Expand file tree Collapse file tree 3 files changed +5
-139
lines changed
Expand file tree Collapse file tree 3 files changed +5
-139
lines changed Original file line number Diff line number Diff line change @@ -1850,34 +1850,6 @@ flexible messaging model and an intuitive client API.</description>
18501850 </execution >
18511851 </executions >
18521852 </plugin >
1853- <plugin >
1854- <groupId >org.apache.maven.plugins</groupId >
1855- <artifactId >maven-assembly-plugin</artifactId >
1856- <version >${maven-assembly-plugin.version} </version >
1857- <inherited >false</inherited >
1858- <executions >
1859- <execution >
1860- <id >source-release-assembly-tar-gz</id >
1861- <phase >generate-sources</phase >
1862- <goals >
1863- <goal >single</goal >
1864- </goals >
1865- <configuration >
1866- <skipAssembly >${skipSourceReleaseAssembly} </skipAssembly >
1867- <runOnlyAtExecutionRoot >true</runOnlyAtExecutionRoot >
1868- <descriptors >
1869- <descriptor >src/assembly-source-package.xml</descriptor >
1870- </descriptors >
1871- <finalName >apache-pulsar-${project.version} -src</finalName >
1872- <appendAssemblyId >false</appendAssemblyId >
1873- <formats >
1874- <format >tar.gz</format >
1875- </formats >
1876- <tarLongFileMode >posix</tarLongFileMode >
1877- </configuration >
1878- </execution >
1879- </executions >
1880- </plugin >
18811853 </plugins >
18821854
18831855 <pluginManagement >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -26,13 +26,17 @@ if [ $# -eq 0 ]; then
2626fi
2727
2828DEST_PATH=$1
29+ DEST_PATH=" $( cd " $DEST_PATH " && pwd) "
2930
3031pushd $( dirname " $0 " )
3132PULSAR_PATH=$( git rev-parse --show-toplevel)
3233VERSION=` ./get-project-version.py`
3334popd
3435
35- cp $PULSAR_PATH /target/apache-pulsar-$VERSION -src.tar.gz $DEST_PATH
36+ pushd " $( dirname " $0 " ) /.."
37+ git archive --format=tar.gz --output=" $DEST_PATH /apache-pulsar-$VERSION -src.tar.gz" --prefix=" apache-pulsar-$VERSION -src/" HEAD
38+ popd
39+
3640cp $PULSAR_PATH /distribution/server/target/apache-pulsar-$VERSION -bin.tar.gz $DEST_PATH
3741cp $PULSAR_PATH /distribution/offloaders/target/apache-pulsar-offloaders-$VERSION -bin.tar.gz $DEST_PATH
3842cp $PULSAR_PATH /distribution/shell/target/apache-pulsar-shell-$VERSION -bin.tar.gz $DEST_PATH
You can’t perform that action at this time.
0 commit comments