Skip to content

Commit b32561d

Browse files
chayimgkorland
andauthored
release drafter and release actions (#129)
Co-authored-by: Guy Korland <[email protected]>
1 parent 3db8c13 commit b32561d

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.circleci.settings.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<servers>
33
<server>
44
<id>ossrh</id>
5-
<username>${env.OSSRH_USERNAME}</username>
6-
<password>${env.OSSRH_PASSWORD}</password>
5+
<username>${env.OSSH_USERNAME}</username>
6+
<password>${env.OSSH_PASSWORD}</password>
77
</server>
88
<server>
99
<id>gpg.passphrase</id>

.github/workflows/release-drafter.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@ jobs:
1717
config-name: release-drafter-config.yml
1818
env:
1919
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20-

.github/workflows/version-and-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
name: Release
22

33
on:
4-
push:
5-
tags:
6-
- '*'
4+
release:
5+
types: [published]
76

87
jobs:
98
build:
@@ -17,6 +16,7 @@ jobs:
1716
run: |
1817
realversion="${GITHUB_REF/refs\/tags\//}"
1918
realversion="${realversion//v/}"
19+
realversion=`echo ${realversion}|cut -d '-' -f 2-2`
2020
echo "::set-output name=VERSION::$realversion"
2121
2222
- name: Set up publishing to maven central

0 commit comments

Comments
 (0)