File tree Expand file tree Collapse file tree 11 files changed +30
-31
lines changed Expand file tree Collapse file tree 11 files changed +30
-31
lines changed Original file line number Diff line number Diff line change 17
17
18
18
SHELL := /bin/bash -o pipefail
19
19
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
22
22
23
23
.PHONY : release-src
24
24
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
27
27
28
28
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
32
32
33
33
.PHONY : compress-tar
34
34
compress-tar :
Original file line number Diff line number Diff line change 22
22
23
23
<groupId >org.apache.apisix</groupId >
24
24
<artifactId >apisix-plugin-runner</artifactId >
25
- <version >0.1.0-SNAPSHOT </version >
25
+ <version >0.1.0</version >
26
26
27
27
<parent >
28
28
<groupId >org.apache</groupId >
Original file line number Diff line number Diff line change 23
23
<parent >
24
24
<groupId >org.apache.apisix</groupId >
25
25
<artifactId >apisix-plugin-runner</artifactId >
26
- <version >0.1.0-SNAPSHOT </version >
26
+ <version >0.1.0</version >
27
27
</parent >
28
28
29
29
<artifactId >apisix-runner-core</artifactId >
35
35
<dependency >
36
36
<groupId >org.apache.apisix</groupId >
37
37
<artifactId >apisix-runner-plugin</artifactId >
38
- <version >0.1.0-SNAPSHOT </version >
38
+ <version >0.1.0</version >
39
39
</dependency >
40
40
<dependency >
41
41
<groupId >org.springframework.boot</groupId >
Original file line number Diff line number Diff line change 23
23
<parent >
24
24
<groupId >org.apache.apisix</groupId >
25
25
<artifactId >apisix-runner-dist</artifactId >
26
- <version >0.1.0-SNAPSHOT </version >
26
+ <version >0.1.0</version >
27
27
</parent >
28
28
29
29
<artifactId >apisix-runner-bin-dist</artifactId >
57
57
<artifactId >maven-antrun-plugin</artifactId >
58
58
<executions >
59
59
<execution >
60
- <id >dist</id >
60
+ <id >dist-bin </id >
61
61
<phase >package</phase >
62
62
<goals >
63
63
<goal >run</goal >
Original file line number Diff line number Diff line change 23
23
<parent >
24
24
<groupId >org.apache.apisix</groupId >
25
25
<artifactId >apisix-runner-dist</artifactId >
26
- <version >0.1.0-SNAPSHOT </version >
26
+ <version >0.1.0</version >
27
27
</parent >
28
28
29
29
<artifactId >apisix-runner-src-dist</artifactId >
30
30
<packaging >pom</packaging >
31
31
32
32
<name >${project.artifactId} </name >
33
33
<build >
34
- <finalName >apisix-runner-src </finalName >
34
+ <finalName >apisix-java-plugin-runner </finalName >
35
35
<plugins >
36
36
<plugin >
37
37
<groupId >org.apache.maven.plugins</groupId >
56
56
<artifactId >maven-antrun-plugin</artifactId >
57
57
<executions >
58
58
<execution >
59
- <id >dist</id >
59
+ <id >dist-src </id >
60
60
<phase >package</phase >
61
61
<goals >
62
62
<goal >run</goal >
63
63
</goals >
64
64
<configuration >
65
65
<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"
68
68
overwrite =" true" />
69
69
</target >
70
70
</configuration >
Original file line number Diff line number Diff line change 26
26
<format >tgz</format >
27
27
</formats >
28
28
<includeBaseDirectory >true</includeBaseDirectory >
29
- <baseDirectory >${project.build.finalName}-src-release </baseDirectory >
29
+ <baseDirectory >${project.build.finalName}</baseDirectory >
30
30
<fileSets >
31
31
<fileSet >
32
32
<directory >../../</directory >
46
46
<exclude >**/*.zip</exclude >
47
47
<exclude >**/*.tar</exclude >
48
48
<exclude >**/*.tar.gz</exclude >
49
+ <exclude >**/*.tgz</exclude >
49
50
50
51
<!-- maven plugin ignore -->
51
52
<exclude >release.properties</exclude >
75
76
76
77
<!-- system ignore -->
77
78
<exclude >**/.DS_Store</exclude >
78
- <exclude >**/Thumbs.db</exclude >
79
79
80
80
<!-- modules ignore -->
81
- <exclude >sample/**</exclude >
82
- <exclude >runner-dist/**</exclude >
83
81
<exclude >docs/**</exclude >
82
+ <exclude >release/**</exclude >
84
83
</excludes >
85
84
</fileSet >
86
85
</fileSets >
Original file line number Diff line number Diff line change 23
23
<parent >
24
24
<groupId >org.apache.apisix</groupId >
25
25
<artifactId >apisix-plugin-runner</artifactId >
26
- <version >0.1.0-SNAPSHOT </version >
26
+ <version >0.1.0</version >
27
27
</parent >
28
28
29
29
<artifactId >apisix-runner-dist</artifactId >
35
35
<dependency >
36
36
<groupId >org.apache.apisix</groupId >
37
37
<artifactId >apisix-runner-starter</artifactId >
38
- <version >0.1.0-SNAPSHOT </version >
38
+ <version >0.1.0</version >
39
39
</dependency >
40
40
</dependencies >
41
41
<modules >
Original file line number Diff line number Diff line change 24
24
<parent >
25
25
<groupId >org.apache.apisix</groupId >
26
26
<artifactId >apisix-plugin-runner</artifactId >
27
- <version >0.1.0-SNAPSHOT </version >
27
+ <version >0.1.0</version >
28
28
</parent >
29
29
30
30
<artifactId >apisix-runner-plugin-sdk</artifactId >
Original file line number Diff line number Diff line change 23
23
<parent >
24
24
<groupId >org.apache.apisix</groupId >
25
25
<artifactId >apisix-plugin-runner</artifactId >
26
- <version >0.1.0-SNAPSHOT </version >
26
+ <version >0.1.0</version >
27
27
</parent >
28
28
29
29
<artifactId >apisix-runner-plugin</artifactId >
35
35
<dependency >
36
36
<groupId >org.apache.apisix</groupId >
37
37
<artifactId >apisix-runner-plugin-sdk</artifactId >
38
- <version >0.1.0-SNAPSHOT </version >
38
+ <version >0.1.0</version >
39
39
</dependency >
40
40
<dependency >
41
41
<groupId >com.google.code.gson</groupId >
Original file line number Diff line number Diff line change 23
23
<parent >
24
24
<groupId >org.apache.apisix</groupId >
25
25
<artifactId >apisix-plugin-runner</artifactId >
26
- <version >0.1.0-SNAPSHOT </version >
26
+ <version >0.1.0</version >
27
27
</parent >
28
28
29
29
<artifactId >apisix-runner-starter</artifactId >
35
35
<dependency >
36
36
<groupId >org.apache.apisix</groupId >
37
37
<artifactId >apisix-runner-core</artifactId >
38
- <version >0.1.0-SNAPSHOT </version >
38
+ <version >0.1.0</version >
39
39
</dependency >
40
40
<dependency >
41
41
<groupId >org.apache.apisix</groupId >
42
42
<artifactId >apisix-runner-plugin</artifactId >
43
- <version >0.1.0-SNAPSHOT </version >
43
+ <version >0.1.0</version >
44
44
</dependency >
45
45
46
46
<dependency >
You can’t perform that action at this time.
0 commit comments