Skip to content
Permalink
Browse files
feat: release 0.1.0 (#44)
  • Loading branch information
tzssangglass committed Jun 28, 2021
1 parent dcb8f75 commit a08926ec414a0963a83280fffae53373eb4a4a22
Showing 11 changed files with 30 additions and 31 deletions.
@@ -17,18 +17,18 @@

SHELL := /bin/bash -o pipefail

VERSION ?= 0.1.0-SNAPSHOT
RELEASE_SRC = apache-apisix-java-plugin-runner-${VERSION}-src
VERSION ?= 0.1.0
RELEASE_SRC = apisix-java-plugin-runner-${VERSION}-src

.PHONY: release-src
release-src: compress-tar
gpg --batch --yes --armor --detach-sig ./dist/$(RELEASE_SRC).tgz
shasum -a 512 ./dist/$(RELEASE_SRC).tgz > ./dist/$(RELEASE_SRC).tgz.sha512
gpg --batch --yes --armor --detach-sig ./$(RELEASE_SRC).tgz
shasum -a 512 ./$(RELEASE_SRC).tgz > ./$(RELEASE_SRC).tgz.sha512

mkdir -p release
mv ./dist/$(RELEASE_SRC).tgz release/$(RELEASE_SRC).tgz
mv ./dist/$(RELEASE_SRC).tgz.asc release/$(RELEASE_SRC).tgz.asc
mv ./dist/$(RELEASE_SRC).tgz.sha512 release/$(RELEASE_SRC).tgz.sha512
mv ./$(RELEASE_SRC).tgz release/$(RELEASE_SRC).tgz
mv ./$(RELEASE_SRC).tgz.asc release/$(RELEASE_SRC).tgz.asc
mv ./$(RELEASE_SRC).tgz.sha512 release/$(RELEASE_SRC).tgz.sha512

.PHONY: compress-tar
compress-tar:
@@ -22,7 +22,7 @@

<groupId>org.apache.apisix</groupId>
<artifactId>apisix-plugin-runner</artifactId>
<version>0.1.0-SNAPSHOT</version>
<version>0.1.0</version>

<parent>
<groupId>org.apache</groupId>
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.apisix</groupId>
<artifactId>apisix-plugin-runner</artifactId>
<version>0.1.0-SNAPSHOT</version>
<version>0.1.0</version>
</parent>

<artifactId>apisix-runner-core</artifactId>
@@ -35,7 +35,7 @@
<dependency>
<groupId>org.apache.apisix</groupId>
<artifactId>apisix-runner-plugin</artifactId>
<version>0.1.0-SNAPSHOT</version>
<version>0.1.0</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.apisix</groupId>
<artifactId>apisix-runner-dist</artifactId>
<version>0.1.0-SNAPSHOT</version>
<version>0.1.0</version>
</parent>

<artifactId>apisix-runner-bin-dist</artifactId>
@@ -57,7 +57,7 @@
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>dist</id>
<id>dist-bin</id>
<phase>package</phase>
<goals>
<goal>run</goal>
@@ -23,15 +23,15 @@
<parent>
<groupId>org.apache.apisix</groupId>
<artifactId>apisix-runner-dist</artifactId>
<version>0.1.0-SNAPSHOT</version>
<version>0.1.0</version>
</parent>

<artifactId>apisix-runner-src-dist</artifactId>
<packaging>pom</packaging>

<name>${project.artifactId}</name>
<build>
<finalName>apisix-runner-src</finalName>
<finalName>apisix-java-plugin-runner</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -56,15 +56,15 @@
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>dist</id>
<id>dist-src</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<copy file="${project.build.directory}/apisix-runner-src.tgz"
tofile="${project.basedir}/../../dist/apache-apisix-java-plugin-runner-${project.version}-src.tgz"
<copy file="${project.build.directory}/apisix-java-plugin-runner.tgz"
tofile="${project.basedir}/../../apisix-java-plugin-runner-${project.version}-src.tgz"
overwrite="true" />
</target>
</configuration>
@@ -26,7 +26,7 @@
<format>tgz</format>
</formats>
<includeBaseDirectory>true</includeBaseDirectory>
<baseDirectory>${project.build.finalName}-src-release</baseDirectory>
<baseDirectory>${project.build.finalName}</baseDirectory>
<fileSets>
<fileSet>
<directory>../../</directory>
@@ -46,6 +46,7 @@
<exclude>**/*.zip</exclude>
<exclude>**/*.tar</exclude>
<exclude>**/*.tar.gz</exclude>
<exclude>**/*.tgz</exclude>

<!-- maven plugin ignore -->
<exclude>release.properties</exclude>
@@ -75,12 +76,10 @@

<!-- system ignore -->
<exclude>**/.DS_Store</exclude>
<exclude>**/Thumbs.db</exclude>

<!-- modules ignore -->
<exclude>sample/**</exclude>
<exclude>runner-dist/**</exclude>
<exclude>docs/**</exclude>
<exclude>release/**</exclude>
</excludes>
</fileSet>
</fileSets>
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.apisix</groupId>
<artifactId>apisix-plugin-runner</artifactId>
<version>0.1.0-SNAPSHOT</version>
<version>0.1.0</version>
</parent>

<artifactId>apisix-runner-dist</artifactId>
@@ -35,7 +35,7 @@
<dependency>
<groupId>org.apache.apisix</groupId>
<artifactId>apisix-runner-starter</artifactId>
<version>0.1.0-SNAPSHOT</version>
<version>0.1.0</version>
</dependency>
</dependencies>
<modules>
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.apisix</groupId>
<artifactId>apisix-plugin-runner</artifactId>
<version>0.1.0-SNAPSHOT</version>
<version>0.1.0</version>
</parent>

<artifactId>apisix-runner-plugin-sdk</artifactId>
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.apisix</groupId>
<artifactId>apisix-plugin-runner</artifactId>
<version>0.1.0-SNAPSHOT</version>
<version>0.1.0</version>
</parent>

<artifactId>apisix-runner-plugin</artifactId>
@@ -35,7 +35,7 @@
<dependency>
<groupId>org.apache.apisix</groupId>
<artifactId>apisix-runner-plugin-sdk</artifactId>
<version>0.1.0-SNAPSHOT</version>
<version>0.1.0</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.apisix</groupId>
<artifactId>apisix-plugin-runner</artifactId>
<version>0.1.0-SNAPSHOT</version>
<version>0.1.0</version>
</parent>

<artifactId>apisix-runner-starter</artifactId>
@@ -35,12 +35,12 @@
<dependency>
<groupId>org.apache.apisix</groupId>
<artifactId>apisix-runner-core</artifactId>
<version>0.1.0-SNAPSHOT</version>
<version>0.1.0</version>
</dependency>
<dependency>
<groupId>org.apache.apisix</groupId>
<artifactId>apisix-runner-plugin</artifactId>
<version>0.1.0-SNAPSHOT</version>
<version>0.1.0</version>
</dependency>

<dependency>
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.apisix</groupId>
<artifactId>apisix-plugin-runner</artifactId>
<version>0.1.0-SNAPSHOT</version>
<version>0.1.0</version>
</parent>

<artifactId>apisix-runner-sample</artifactId>
@@ -35,7 +35,7 @@
<dependency>
<groupId>org.apache.apisix</groupId>
<artifactId>apisix-runner-plugin-sdk</artifactId>
<version>0.1.0-SNAPSHOT</version>
<version>0.1.0</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>

0 comments on commit a08926e

Please sign in to comment.