Skip to content

Commit a08926e

Browse files
authored
feat: release 0.1.0 (#44)
1 parent dcb8f75 commit a08926e

File tree

11 files changed

+30
-31
lines changed

11 files changed

+30
-31
lines changed

Makefile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@
1717

1818
SHELL := /bin/bash -o pipefail
1919

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

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

2828
mkdir -p release
29-
mv ./dist/$(RELEASE_SRC).tgz release/$(RELEASE_SRC).tgz
30-
mv ./dist/$(RELEASE_SRC).tgz.asc release/$(RELEASE_SRC).tgz.asc
31-
mv ./dist/$(RELEASE_SRC).tgz.sha512 release/$(RELEASE_SRC).tgz.sha512
29+
mv ./$(RELEASE_SRC).tgz release/$(RELEASE_SRC).tgz
30+
mv ./$(RELEASE_SRC).tgz.asc release/$(RELEASE_SRC).tgz.asc
31+
mv ./$(RELEASE_SRC).tgz.sha512 release/$(RELEASE_SRC).tgz.sha512
3232

3333
.PHONY: compress-tar
3434
compress-tar:

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
<groupId>org.apache.apisix</groupId>
2424
<artifactId>apisix-plugin-runner</artifactId>
25-
<version>0.1.0-SNAPSHOT</version>
25+
<version>0.1.0</version>
2626

2727
<parent>
2828
<groupId>org.apache</groupId>

runner-core/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<parent>
2424
<groupId>org.apache.apisix</groupId>
2525
<artifactId>apisix-plugin-runner</artifactId>
26-
<version>0.1.0-SNAPSHOT</version>
26+
<version>0.1.0</version>
2727
</parent>
2828

2929
<artifactId>apisix-runner-core</artifactId>
@@ -35,7 +35,7 @@
3535
<dependency>
3636
<groupId>org.apache.apisix</groupId>
3737
<artifactId>apisix-runner-plugin</artifactId>
38-
<version>0.1.0-SNAPSHOT</version>
38+
<version>0.1.0</version>
3939
</dependency>
4040
<dependency>
4141
<groupId>org.springframework.boot</groupId>

runner-dist/apisix-runner-bin-dist/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<parent>
2424
<groupId>org.apache.apisix</groupId>
2525
<artifactId>apisix-runner-dist</artifactId>
26-
<version>0.1.0-SNAPSHOT</version>
26+
<version>0.1.0</version>
2727
</parent>
2828

2929
<artifactId>apisix-runner-bin-dist</artifactId>
@@ -57,7 +57,7 @@
5757
<artifactId>maven-antrun-plugin</artifactId>
5858
<executions>
5959
<execution>
60-
<id>dist</id>
60+
<id>dist-bin</id>
6161
<phase>package</phase>
6262
<goals>
6363
<goal>run</goal>

runner-dist/apisix-runner-src-dist/pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@
2323
<parent>
2424
<groupId>org.apache.apisix</groupId>
2525
<artifactId>apisix-runner-dist</artifactId>
26-
<version>0.1.0-SNAPSHOT</version>
26+
<version>0.1.0</version>
2727
</parent>
2828

2929
<artifactId>apisix-runner-src-dist</artifactId>
3030
<packaging>pom</packaging>
3131

3232
<name>${project.artifactId}</name>
3333
<build>
34-
<finalName>apisix-runner-src</finalName>
34+
<finalName>apisix-java-plugin-runner</finalName>
3535
<plugins>
3636
<plugin>
3737
<groupId>org.apache.maven.plugins</groupId>
@@ -56,15 +56,15 @@
5656
<artifactId>maven-antrun-plugin</artifactId>
5757
<executions>
5858
<execution>
59-
<id>dist</id>
59+
<id>dist-src</id>
6060
<phase>package</phase>
6161
<goals>
6262
<goal>run</goal>
6363
</goals>
6464
<configuration>
6565
<target>
66-
<copy file="${project.build.directory}/apisix-runner-src.tgz"
67-
tofile="${project.basedir}/../../dist/apache-apisix-java-plugin-runner-${project.version}-src.tgz"
66+
<copy file="${project.build.directory}/apisix-java-plugin-runner.tgz"
67+
tofile="${project.basedir}/../../apisix-java-plugin-runner-${project.version}-src.tgz"
6868
overwrite="true" />
6969
</target>
7070
</configuration>

runner-dist/apisix-runner-src-dist/src/main/assembly/assemble.xml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<format>tgz</format>
2727
</formats>
2828
<includeBaseDirectory>true</includeBaseDirectory>
29-
<baseDirectory>${project.build.finalName}-src-release</baseDirectory>
29+
<baseDirectory>${project.build.finalName}</baseDirectory>
3030
<fileSets>
3131
<fileSet>
3232
<directory>../../</directory>
@@ -46,6 +46,7 @@
4646
<exclude>**/*.zip</exclude>
4747
<exclude>**/*.tar</exclude>
4848
<exclude>**/*.tar.gz</exclude>
49+
<exclude>**/*.tgz</exclude>
4950

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

7677
<!-- system ignore -->
7778
<exclude>**/.DS_Store</exclude>
78-
<exclude>**/Thumbs.db</exclude>
7979

8080
<!-- modules ignore -->
81-
<exclude>sample/**</exclude>
82-
<exclude>runner-dist/**</exclude>
8381
<exclude>docs/**</exclude>
82+
<exclude>release/**</exclude>
8483
</excludes>
8584
</fileSet>
8685
</fileSets>

runner-dist/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<parent>
2424
<groupId>org.apache.apisix</groupId>
2525
<artifactId>apisix-plugin-runner</artifactId>
26-
<version>0.1.0-SNAPSHOT</version>
26+
<version>0.1.0</version>
2727
</parent>
2828

2929
<artifactId>apisix-runner-dist</artifactId>
@@ -35,7 +35,7 @@
3535
<dependency>
3636
<groupId>org.apache.apisix</groupId>
3737
<artifactId>apisix-runner-starter</artifactId>
38-
<version>0.1.0-SNAPSHOT</version>
38+
<version>0.1.0</version>
3939
</dependency>
4040
</dependencies>
4141
<modules>

runner-plugin-sdk/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<parent>
2525
<groupId>org.apache.apisix</groupId>
2626
<artifactId>apisix-plugin-runner</artifactId>
27-
<version>0.1.0-SNAPSHOT</version>
27+
<version>0.1.0</version>
2828
</parent>
2929

3030
<artifactId>apisix-runner-plugin-sdk</artifactId>

runner-plugin/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<parent>
2424
<groupId>org.apache.apisix</groupId>
2525
<artifactId>apisix-plugin-runner</artifactId>
26-
<version>0.1.0-SNAPSHOT</version>
26+
<version>0.1.0</version>
2727
</parent>
2828

2929
<artifactId>apisix-runner-plugin</artifactId>
@@ -35,7 +35,7 @@
3535
<dependency>
3636
<groupId>org.apache.apisix</groupId>
3737
<artifactId>apisix-runner-plugin-sdk</artifactId>
38-
<version>0.1.0-SNAPSHOT</version>
38+
<version>0.1.0</version>
3939
</dependency>
4040
<dependency>
4141
<groupId>com.google.code.gson</groupId>

runner-starter/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<parent>
2424
<groupId>org.apache.apisix</groupId>
2525
<artifactId>apisix-plugin-runner</artifactId>
26-
<version>0.1.0-SNAPSHOT</version>
26+
<version>0.1.0</version>
2727
</parent>
2828

2929
<artifactId>apisix-runner-starter</artifactId>
@@ -35,12 +35,12 @@
3535
<dependency>
3636
<groupId>org.apache.apisix</groupId>
3737
<artifactId>apisix-runner-core</artifactId>
38-
<version>0.1.0-SNAPSHOT</version>
38+
<version>0.1.0</version>
3939
</dependency>
4040
<dependency>
4141
<groupId>org.apache.apisix</groupId>
4242
<artifactId>apisix-runner-plugin</artifactId>
43-
<version>0.1.0-SNAPSHOT</version>
43+
<version>0.1.0</version>
4444
</dependency>
4545

4646
<dependency>

0 commit comments

Comments
 (0)