Merge StartRocks plugin

This commit is contained in:
dingxiaobo 2022-08-26 13:45:33 +08:00
parent 03158bf046
commit b49ceb135f
2 changed files with 0 additions and 39 deletions

View File

@ -1,31 +0,0 @@
name: Release
on:
push:
tags:
- "v*.*.*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Maven Central Repository
uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'adopt'
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- run: |
git checkout main && git pull origin main
rm -rf target
mvn -U -pl starrockswriter -am clean package assembly:assembly -Dmaven.test.skip=true
cd target/datax/datax/plugin/writer/
tar -czvf starrockswriter.tar.gz starrockswriter
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
target/datax/datax/plugin/writer/starrockswriter.tar.gz

View File

@ -1,8 +0,0 @@
ShellDir="$( cd "$( dirname "$0" )" && pwd )"
cd $ShellDir
rm -rf target
mvn -U -pl starrockswriter -am clean package assembly:assembly -Dmaven.test.skip=true
rm -f starrockswriter.tar.gz
cd target/datax/datax/plugin/writer/
tar -czvf starrockswriter.tar.gz starrockswriter
mv starrockswriter.tar.gz $ShellDir