File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ concurrency:
32
32
33
33
env :
34
34
RELEASE_VERSION : ${{ inputs.version }}
35
+ RELEASE_VERSION_TAG : v${{ inputs.version }}
35
36
36
37
jobs :
37
38
validate-tag :
45
46
- name : Validate tag does not exist on current commit
46
47
uses : ./.github/workflows/validate-tag
47
48
with :
48
- tag : v ${{ env.RELEASE_VERSION }}
49
+ tag : ${{ env.RELEASE_VERSION_TAG }}
49
50
- name : Validate tag match current version
50
51
run : |
51
52
if [ "$(mvn -q help:evaluate -Dexpression=project.version -DforceStdout)" != "${{ env.RELEASE_VERSION }}" ]; then
@@ -113,6 +114,27 @@ jobs:
113
114
artifactid : ' ecs-logging-core'
114
115
version : ${{ inputs.version }}
115
116
117
+ create-github-release :
118
+ name : " Create GitHub Release"
119
+ needs :
120
+ - await-maven-central-artifact
121
+ runs-on : ubuntu-latest
122
+ if : inputs.dry_run == false
123
+ permissions :
124
+ contents : write
125
+ steps :
126
+ - uses : actions/checkout@v4
127
+ with :
128
+ ref : ${{ inputs.ref }}
129
+
130
+ - name : Create GitHub Release
131
+ env :
132
+ GH_TOKEN : ${{ github.token }}
133
+ run : |
134
+ gh release create ${{ env.RELEASE_VERSION_TAG }} \
135
+ --title="Release ${{ env.RELEASE_VERSION }}" \
136
+ --generate-notes
137
+
116
138
post-release :
117
139
name : " Bump versions and create PR"
118
140
needs :
You can’t perform that action at this time.
0 commit comments