Skip to content

Commit 6cb5d7a

Browse files
committed
Add tentative GHA WF to finish release
1 parent cef30d3 commit 6cb5d7a

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Finish Release Tmp
2+
on:
3+
workflow_dispatch:
4+
5+
jobs:
6+
finish-release:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Set up JFrog CLI
10+
uses: jfrog/setup-jfrog-cli@7c95feb32008765e1b4e626b078dfd897c4340ad # v4.1.2
11+
env:
12+
JF_ENV_SPRING: ${{ secrets.JF_ARTIFACTORY_SPRING }}
13+
- name: Promote build
14+
run: jfrog rt build-promote spring-retry- 5 libs-release-local
15+
16+
- name: Check Out Code
17+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
18+
- name: Create GitHub Release
19+
uses: ./.github/actions/create-github-release
20+
with:
21+
milestone: 2.0.11
22+
token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
23+
24+
- name: Announce Release in Chat
25+
if: env.CHAT_WEBHOOK_URL
26+
run: |
27+
curl -X POST '${{ env.CHAT_WEBHOOK_URL }}' -H 'Content-Type: application/json' -d '{ text: "${{ github.event.repository.name }}-announcing `2.0.11`"}'
28+
env:
29+
CHAT_WEBHOOK_URL: ${{ secrets.SPRING_RELEASE_GCHAT_WEBHOOK_URL }}

0 commit comments

Comments
 (0)