Skip to content

Commit

Permalink
feat(release-please-v4): updated release-please to v4 #491 (#688)
Browse files Browse the repository at this point in the history
## 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>
  • Loading branch information
abhi-markan and Abhi Markan authored Dec 29, 2023
1 parent fac3891 commit cc07b84
Show file tree
Hide file tree
Showing 5 changed files with 564 additions and 623 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,18 @@ on:
push:
branches: [main]

permissions:
contents: write
pull-requests: write

jobs:
# 1. `package.json`, `README.md` and `CHANGELOG.md` updates
release:
name: Release setup 🔧
runs-on: ubuntu-latest
steps:
- name: New release ⚡️
- name: Release version ⚡️
uses: google-github-actions/release-please-action@v4
id: release
with:
token: ${{ secrets.RELEASE_TOKEN }}
release-type: node
package-name: uk-export-finance/mdm-api
changelog-types: '[
{ "type": "feat", "section": "Features", "hidden": false},
{ "type": "fix", "section": "Bug Fixes", "hidden": false},
{ "type": "chore", "section": "Miscellaneous", "hidden": false},
{ "type": "docs", "section": "Documentation", "hidden": false},
{ "type": "refactor", "section": "Code improvements", "hidden": false},
{ "type": "dependabot", "section": "Dependency updates", "hidden": false}
]'
extra-files: |
README.md
CHANGELOG.md
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "1.16.0"
}
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@

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

**Status** 🚦

[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-%23FE5196?logo=conventionalcommits&logoColor=white)](https://conventionalcommits.org)

**CI** 💫

![Lint](https://github.com/UK-Export-Finance/mdm-api/actions/workflows/lint.yml/badge.svg)
![SCA](https://github.com/UK-Export-Finance/mdm-api/actions/workflows/sca.yml/badge.svg)
![QA](https://github.com/UK-Export-Finance/mdm-api/actions/workflows/test.yml/badge.svg)
![Release](https://github.com/UK-Export-Finance/mdm-api/actions/workflows/publish.yml/badge.svg)

**CD** 🚀

![Release](https://github.com/UK-Export-Finance/mdm-api/actions/workflows/deployment.yml/badge.svg?branch=dev)
![Release](https://github.com/UK-Export-Finance/mdm-api/actions/workflows/deployment.yml/badge.svg?branch=staging)
![Release](https://github.com/UK-Export-Finance/mdm-api/actions/workflows/deployment.yml/badge.svg?branch=production)

## Install 💻

```bash
Expand Down
Loading

0 comments on commit cc07b84

Please sign in to comment.