Skip to content

Commit

Permalink
[Bug fix] Fix release path error (apache#116)
Browse files Browse the repository at this point in the history
* [Bug fix] Fix release path error

Signed-off-by: xiaolong.ran <rxl@apache.org>

* fix release, rm unrelated .gitignore

Co-authored-by: Jia Zhai <zhaijia@apache.org>
  • Loading branch information
wolfstudy and jiazhai authored Feb 23, 2020
1 parent 836ee35 commit 6ec5a20
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 33 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
upload:
name: Upload go build
name: Upload Release files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
Expand All @@ -18,9 +18,12 @@ jobs:
run: |
version=`./scripts/dev/get-project-version.py`
mvn clean install -DskipTests
cp kafka-impl/target/pulsar-protocol-handler-kafka-${version}.nar ../
cp kafka-impl/target/pulsar-kop-${version}-bin.tar.gz ../
cp README.md ../pulsar-protocol-handler-kafka-readme.md
rm -rf pulsar-*
cp kafka-impl/target/pulsar-protocol-handler-kafka-${version}.nar ./
cp kafka-impl/target/pulsar-kop-${version}-bin.tar.gz ./
cp README.md ./pulsar-protocol-handler-kafka-readme.md
echo "ls pulsar-*"
ls pulsar-*
- name: publish
uses: skx/github-action-publish-binaries@release-0.11
Expand Down
31 changes: 2 additions & 29 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
status.html
.metadata
test-output
test-results
dependency-reduced-pom.xml
logs
/data
pulsar-kopBroker/tmp.*
pulsar-kopBroker/src/test/resources/log4j2.yaml
pulsar-functions/worker/test-tenant/
pulsar-kopBroker/src/test/resources/pulsar-functions-api-examples.jar
pulsar-kop-*-bin.tar.gz
pulsar-protocol-handler-kafka-readme.md
*.log
*.nar

Expand Down Expand Up @@ -46,24 +41,6 @@ target/
# tmp files
*.pid

# Generated website
generated-site/

# Ansible and Terraform artifacts
deployment/terraform-ansible/deploy-pulsar.retry
deployment/terraform-ansible/aws/.terraform/
deployment/terraform-ansible/aws/.terraform.tfstate.lock.info
deployment/terraform-ansible/aws/terraform.tfstate
deployment/terraform-ansible/aws/terraform.tfstate.backup

# Vagrant
**/.vagrant


pulsar-client-cpp/python/pkg/osx/*/*.bak
pulsar-client-cpp/python/pkg/osx/*/*.whl
pulsar-client-cpp/python/wheelhouse

# CI generated files
.repository
docker.debug-info
Expand All @@ -77,7 +54,3 @@ docker.debug-info
**/website/i18n/*
**/website/translated_docs*

# Avro
examples/flink/src/main/java/org/apache/flink/avro/generated
pulsar-flink/src/test/java/org/apache/flink/avro/generated
pulsar-client/src/test/java/org/apache/pulsar/client/avro/generated

0 comments on commit 6ec5a20

Please sign in to comment.