File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ concurrency:
3333
3434env :
3535 RELEASE_VERSION : ${{ inputs.version }}
36+ RELEASE_VERSION_TAG : v${{ inputs.version }}
3637
3738jobs :
3839 validate-tag :
5051 - name : Validate release tag does not exist in repo
5152 uses : ./.github/workflows/validate-tag
5253 with :
53- tag : v ${{ env.RELEASE_VERSION }}
54+ tag : ${{ env.RELEASE_VERSION_TAG }}
5455 - name : Validate tag match current version
5556 run : |
5657 if [ "$(./gradlew -q currentVersion)" != "${{ env.RELEASE_VERSION }}" ]; then
@@ -152,3 +153,23 @@ jobs:
152153 version : ${{ inputs.version }}
153154 phase : ' post'
154155 secrets : inherit
156+
157+ create-github-release :
158+ name : " Create GitHub Release"
159+ needs :
160+ - await-maven-central-artifact
161+ runs-on : ubuntu-latest
162+ if : ${{ ! inputs.dry_run }}
163+ permissions :
164+ contents : write
165+ steps :
166+ - uses : actions/checkout@v4
167+ with :
168+ ref : ${{ inputs.ref }}
169+ - name : Create GitHub Release
170+ env :
171+ GH_TOKEN : ${{ github.token }}
172+ run : |
173+ gh release create ${{ env.RELEASE_VERSION_TAG }} \
174+ --title="Release ${{ env.RELEASE_VERSION }}" \
175+ --notes=""
You can’t perform that action at this time.
0 commit comments