Skip to content

Commit cc07b84

Browse files
abhi-markanAbhi Markan
andauthored
feat(release-please-v4): updated release-please to v4 #491 (#688)
## Introduction ✏️ Upgrade auto release version syntax to `v4` ## Resolution ✔️ * Syntax upgrade for `v4` * Created `release.json` manifest file. ## Miscellaneous ➕ * Added badges to `README.md` Co-authored-by: Abhi Markan <abhi.markan@ukexportfinance.gov.uk>
1 parent fac3891 commit cc07b84

File tree

5 files changed

+564
-623
lines changed

5 files changed

+564
-623
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,18 @@ on:
99
push:
1010
branches: [main]
1111

12+
permissions:
13+
contents: write
14+
pull-requests: write
15+
1216
jobs:
1317
# 1. `package.json`, `README.md` and `CHANGELOG.md` updates
1418
release:
1519
name: Release setup 🔧
1620
runs-on: ubuntu-latest
1721
steps:
18-
- name: New release ⚡️
22+
- name: Release version ⚡️
1923
uses: google-github-actions/release-please-action@v4
20-
id: release
2124
with:
25+
token: ${{ secrets.RELEASE_TOKEN }}
2226
release-type: node
23-
package-name: uk-export-finance/mdm-api
24-
changelog-types: '[
25-
{ "type": "feat", "section": "Features", "hidden": false},
26-
{ "type": "fix", "section": "Bug Fixes", "hidden": false},
27-
{ "type": "chore", "section": "Miscellaneous", "hidden": false},
28-
{ "type": "docs", "section": "Documentation", "hidden": false},
29-
{ "type": "refactor", "section": "Code improvements", "hidden": false},
30-
{ "type": "dependabot", "section": "Dependency updates", "hidden": false}
31-
]'
32-
extra-files: |
33-
README.md
34-
CHANGELOG.md

.release-please-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "1.16.0"
3+
}

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,23 @@
22

33
MDM micro-service provides endpoints for internal UKEF applications ranging from counties, currencies, yield rates, interest rates to premium schedule.
44

5+
**Status** 🚦
6+
7+
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-%23FE5196?logo=conventionalcommits&logoColor=white)](https://conventionalcommits.org)
8+
9+
**CI** 💫
10+
11+
![Lint](https://github.com/UK-Export-Finance/mdm-api/actions/workflows/lint.yml/badge.svg)
12+
![SCA](https://github.com/UK-Export-Finance/mdm-api/actions/workflows/sca.yml/badge.svg)
13+
![QA](https://github.com/UK-Export-Finance/mdm-api/actions/workflows/test.yml/badge.svg)
14+
![Release](https://github.com/UK-Export-Finance/mdm-api/actions/workflows/publish.yml/badge.svg)
15+
16+
**CD** 🚀
17+
18+
![Release](https://github.com/UK-Export-Finance/mdm-api/actions/workflows/deployment.yml/badge.svg?branch=dev)
19+
![Release](https://github.com/UK-Export-Finance/mdm-api/actions/workflows/deployment.yml/badge.svg?branch=staging)
20+
![Release](https://github.com/UK-Export-Finance/mdm-api/actions/workflows/deployment.yml/badge.svg?branch=production)
21+
522
## Install 💻
623

724
```bash

0 commit comments

Comments
 (0)