File tree Expand file tree Collapse file tree 5 files changed +64
-12
lines changed Expand file tree Collapse file tree 5 files changed +64
-12
lines changed Original file line number Diff line number Diff line change 3
3
<servers >
4
4
<server >
5
5
<id >ossrh</id >
6
- <username >${env.OSSRH_USERNAME }</username >
7
- <password >${env.OSSRH_PASSWORD }</password >
6
+ <username >${env.OSSH_USERNAME }</username >
7
+ <password >${env.OSSH_PASSWORD }</password >
8
8
</server >
9
9
<server >
10
10
<id >gpg.passphrase</id >
Original file line number Diff line number Diff line change 38
38
# run tests!
39
39
- run : mvn integration-test
40
40
- run : mvn cobertura:cobertura
41
- - run : bash <(curl -s https://codecov.io/ bash) -t ${CODECOV_TOKEN}
41
+ - run : bash <(curl -s https://raw.githubusercontent.com/codecov/codecov- bash/master/codecov ) -t ${CODECOV_TOKEN}
42
42
43
- - run : mvn -s .circleci.settings.xml -DskipTests deploy
43
+ - run : mvn -s .circleci.settings.xml -DskipTests -Dgpg.skip deploy
44
44
45
45
workflows :
46
46
version : 2
Original file line number Diff line number Diff line change 1
- name-template : ' Version $NEXT_PATCH_VERSION🌈 '
1
+ name-template : ' Version $NEXT_PATCH_VERSION'
2
2
tag-template : ' v$NEXT_PATCH_VERSION'
3
3
categories :
4
- - title : ' 🚀 Features'
4
+ - title : ' Features'
5
5
labels :
6
6
- ' feature'
7
7
- ' enhancement'
@@ -10,9 +10,9 @@ categories:
10
10
- ' fix'
11
11
- ' bugfix'
12
12
- ' bug'
13
- - title : ' 🧰 Maintenance'
13
+ - title : ' Maintenance'
14
14
label : ' chore'
15
- change-template : ' - $TITLE @$AUTHOR (#$NUMBER)'
15
+ change-template : ' - $TITLE (#$NUMBER)'
16
16
exclude-labels :
17
17
- ' skip-changelog'
18
18
template : |
Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ release :
5
+ types : [published]
6
+
7
+ jobs :
8
+ build :
9
+ runs-on : ubuntu-latest
10
+
11
+ steps :
12
+ - uses : actions/checkout@v2
13
+
14
+ - name : get version from tag
15
+ id : get_version
16
+ run : |
17
+ realversion="${GITHUB_REF/refs\/tags\//}"
18
+ realversion="${realversion//v/}"
19
+ echo "::set-output name=VERSION::$realversion"
20
+
21
+ - name : Set up publishing to maven central
22
+ uses : actions/setup-java@v2
23
+ with :
24
+ java-version : ' 8'
25
+ distribution : ' adopt'
26
+ server-id : ossrh
27
+ server-username : MAVEN_USERNAME
28
+ server-password : MAVEN_PASSWORD
29
+
30
+ - name : mvn versions
31
+ run : mvn versions:set -DnewVersion=${{ steps.get_version.outputs.VERSION }}
32
+
33
+ - name : Install gpg key
34
+ run : |
35
+ cat <(echo -e "${{ secrets.OSSH_GPG_SECRET_KEY }}") | gpg --batch --import
36
+ gpg --list-secret-keys --keyid-format LONG
37
+
38
+ - name : Publish
39
+ run : |
40
+ mvn --no-transfer-progress \
41
+ --batch-mode \
42
+ -Dgpg.passphrase='${{ secrets.OSSH_GPG_SECRET_KEY_PASSWORD }}' \
43
+ -DskipTests deploy -P release
44
+ env :
45
+ MAVEN_USERNAME : ${{secrets.OSSH_USERNAME}}
46
+ MAVEN_PASSWORD : ${{secrets.OSSH_TOKEN}}
Original file line number Diff line number Diff line change 7
7
<groupId >com.redislabs</groupId >
8
8
<artifactId >jrejson</artifactId >
9
9
<version >1.5.0-SNAPSHOT</version >
10
-
10
+
11
11
<name >JReJSON</name >
12
12
<description >Official client for ReJSON</description >
13
13
<url >https://oss.redislabs.com/rejson</url >
45
45
<maven .compiler.source>1.8</maven .compiler.source>
46
46
<maven .compiler.target>1.8</maven .compiler.target>
47
47
<maven .test.source>8</maven .test.source>
48
- <maven .test.target>8</maven .test.target>
48
+ <maven .test.target>8</maven .test.target>
49
49
<gson .version>2.8.7</gson .version>
50
- <jedis .version>3.6.0 </jedis .version>
50
+ <jedis .version>3.6.3 </jedis .version>
51
51
<commons .pool2.version>2.10.0</commons .pool2.version>
52
52
</properties >
53
53
159
159
<plugin >
160
160
<groupId >org.apache.maven.plugins</groupId >
161
161
<artifactId >maven-gpg-plugin</artifactId >
162
- <version >1.5</version >
162
+ <version >3.0.1</version >
163
+ <configuration >
164
+ <gpgArguments >
165
+ <arg >--pinentry-mode</arg >
166
+ <arg >loopback</arg >
167
+ </gpgArguments >
168
+ </configuration >
163
169
<executions >
164
170
<execution >
165
171
<id >sign-artifacts</id >
You can’t perform that action at this time.
0 commit comments