Skip to content

Commit c91cd6c

Browse files
chayimgkorland
andauthored
release drafter and release actions (#55)
Co-authored-by: Guy Korland <gkorland@gmail.com>
1 parent b9c5f62 commit c91cd6c

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
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/release-drafter-config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
name-template: 'Version $NEXT_PATCH_VERSION🌈'
1+
name-template: 'Version $NEXT_PATCH_VERSION'
22
tag-template: 'v$NEXT_PATCH_VERSION'
33
categories:
4-
- title: '🚀Features'
4+
- title: 'Features'
55
labels:
66
- 'feature'
77
- 'enhancement'
@@ -10,12 +10,12 @@ categories:
1010
- 'fix'
1111
- 'bugfix'
1212
- 'bug'
13-
- title: '🧰Maintenance'
13+
- title: 'Maintenance'
1414
label: 'chore'
15-
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
15+
change-template: '- $TITLE (#$NUMBER)'
1616
exclude-labels:
1717
- 'skip-changelog'
1818
template: |
1919
## Changes
2020
21-
$CHANGES
21+
$CHANGES

.github/workflows/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ jobs:
1616
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
1717
config-name: release-drafter-config.yml
1818
env:
19-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.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)