Skip to content

Commit

Permalink
Switch release GH Actions to use cliffano/release-action
Browse files Browse the repository at this point in the history
  • Loading branch information
cliffano committed Jul 9, 2024
1 parent 843e75d commit 58edda9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 41 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/release-major-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cliffano/release-action@main
with:
token: ${{ secrets.OAPICF_GITHUB_TOKEN }}
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: git config --global user.email "[email protected]"
- run: git config --global user.name "pakkunbot"
- run: npm install -g rtk
- run: rtk release --release-increment-type major
- uses: ad-m/[email protected]
with:
tags: true
github_token: ${{ secrets.OAPICF_GITHUB_TOKEN }}
branch: ${{ github.ref }}
release_type: 'major'
github_token: ${{ secrets.OAPICF_GITHUB_TOKEN }}
17 changes: 3 additions & 14 deletions .github/workflows/release-minor-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cliffano/release-action@main
with:
token: ${{ secrets.OAPICF_GITHUB_TOKEN }}
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: git config --global user.email "[email protected]"
- run: git config --global user.name "pakkunbot"
- run: npm install -g rtk
- run: rtk release --release-increment-type minor
- uses: ad-m/[email protected]
with:
tags: true
github_token: ${{ secrets.OAPICF_GITHUB_TOKEN }}
branch: ${{ github.ref }}
release_type: 'minor'
github_token: ${{ secrets.OAPICF_GITHUB_TOKEN }}
15 changes: 2 additions & 13 deletions .github/workflows/release-patch-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cliffano/release-action@main
with:
token: ${{ secrets.OAPICF_GITHUB_TOKEN }}
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: git config --global user.email "[email protected]"
- run: git config --global user.name "pakkunbot"
- run: npm install -g rtk
- run: rtk release --release-increment-type patch
- uses: ad-m/[email protected]
with:
tags: true
release_type: 'patch'
github_token: ${{ secrets.OAPICF_GITHUB_TOKEN }}
branch: ${{ github.ref }}
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

### Changed
- Switch release GH Actions to use cliffano/release-action

## 1.1.0 - 2024-07-09
### Changed
- Upgrade Swaggy C to 4.5.0
Expand Down

0 comments on commit 58edda9

Please sign in to comment.