Skip to content

Commit

Permalink
feat: release 0.1.0 (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
tzssangglass authored Jun 28, 2021
1 parent dcb8f75 commit a08926e
Show file tree
Hide file tree
Showing 11 changed files with 30 additions and 31 deletions.
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions runner-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions runner-dist/apisix-runner-bin-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down
10 changes: 5 additions & 5 deletions runner-dist/apisix-runner-src-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -46,6 +46,7 @@
<exclude>**/*.zip</exclude>
<exclude>**/*.tar</exclude>
<exclude>**/*.tar.gz</exclude>
<exclude>**/*.tgz</exclude>

<!-- maven plugin ignore -->
<exclude>release.properties</exclude>
Expand Down Expand Up @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions runner-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion runner-plugin-sdk/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions runner-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand Down
6 changes: 3 additions & 3 deletions runner-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions sample/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand Down

0 comments on commit a08926e

Please sign in to comment.