Skip to content

Commit 2d31832

Browse files
committed
Hot fix for 4.1.3
1 parent 77ec76d commit 2d31832

File tree

1 file changed

+4
-64
lines changed

1 file changed

+4
-64
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,86 +1,26 @@
11
name: Release
22
on:
33
push:
4-
tags:
5-
- v4.1.[0-9]+
4+
branches:
5+
- release-4.1.3-hotfix
66
permissions:
77
contents: read
88
concurrency:
99
group: ${{ github.workflow }}-${{ github.ref }}
1010
jobs:
11-
build-and-stage-release:
12-
name: Build and Stage Release
13-
if: ${{ github.repository == 'spring-projects/spring-ws' }}
14-
runs-on: ubuntu-latest
15-
steps:
16-
- name: Check Out Code
17-
uses: actions/checkout@v5
18-
- name: Build and Publish
19-
id: build-and-publish
20-
uses: ./.github/actions/build
21-
with:
22-
develocity-access-key: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
23-
publish: true
24-
- name: Stage Release
25-
uses: spring-io/artifactory-deploy-action@926d7f7cc810569395346bf3a4d91b380b3e355b # v0.0.4
26-
with:
27-
artifact-properties: |
28-
/**/spring-ws-docs-*.zip::zip.type=docs,zip.name=spring-ws,zip.deployed=false
29-
build-name: ${{ format('spring-ws-{0}', steps.build-and-publish.outputs.version)}}
30-
folder: 'deployment-repository'
31-
password: ${{ secrets.ARTIFACTORY_PASSWORD }}
32-
repository: 'libs-staging-local'
33-
signing-key: ${{ secrets.GPG_PRIVATE_KEY }}
34-
signing-passphrase: ${{ secrets.GPG_PASSPHRASE }}
35-
uri: 'https://repo.spring.io'
36-
username: ${{ secrets.ARTIFACTORY_USERNAME }}
37-
outputs:
38-
version: ${{ steps.build-and-publish.outputs.version }}
39-
verify:
40-
name: Verify
41-
needs: build-and-stage-release
42-
uses: ./.github/workflows/verify.yml
43-
secrets:
44-
google-chat-webhook-url: ${{ secrets.GOOGLE_CHAT_WEBHOOK_URL }}
45-
repository-password: ${{ secrets.ARTIFACTORY_PASSWORD }}
46-
repository-username: ${{ secrets.ARTIFACTORY_USERNAME }}
47-
token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
48-
with:
49-
staging: true
50-
version: ${{ needs.build-and-stage-release.outputs.version }}
51-
sync-to-maven-central:
52-
name: Sync to Maven Central
53-
needs:
54-
- build-and-stage-release
55-
- verify
56-
runs-on: ubuntu-latest
57-
steps:
58-
- name: Check Out Code
59-
uses: actions/checkout@v5
60-
- name: Sync to Maven Central
61-
uses: ./.github/actions/sync-to-maven-central
62-
with:
63-
central-token-password: ${{ secrets.CENTRAL_TOKEN_PASSWORD }}
64-
central-token-username: ${{ secrets.CENTRAL_TOKEN_USERNAME }}
65-
jfrog-cli-config-token: ${{ secrets.JF_ARTIFACTORY_SPRING }}
66-
spring-ws-version: ${{ needs.build-and-stage-release.outputs.version }}
6711
promote-release:
6812
name: Promote Release
69-
needs:
70-
- build-and-stage-release
71-
- sync-to-maven-central
7213
runs-on: ubuntu-latest
7314
steps:
7415
- name: Set up JFrog CLI
7516
uses: jfrog/setup-jfrog-cli@5b06f730cc5a6f55d78b30753f8583454b08c0aa # v4.8.1
7617
env:
7718
JF_ENV_SPRING: ${{ secrets.JF_ARTIFACTORY_SPRING }}
7819
- name: Promote build
79-
run: jfrog rt build-promote ${{ format('spring-ws-{0}', needs.build-and-stage-release.outputs.version)}} ${{ github.run_number }} libs-release-local
20+
run: jfrog rt build-promote spring-ws-4.1.3 13 libs-release-local
8021
create-github-release:
8122
name: Create GitHub Release
8223
needs:
83-
- build-and-stage-release
8424
- promote-release
8525
runs-on: ubuntu-latest
8626
steps:
@@ -89,5 +29,5 @@ jobs:
8929
- name: Create GitHub Release
9030
uses: ./.github/actions/create-github-release
9131
with:
92-
milestone: ${{ needs.build-and-stage-release.outputs.version }}
32+
milestone: 4.1.3
9333
token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}

0 commit comments

Comments
 (0)