Skip to content

Commit

Permalink
Switch release workflow to use studio-release-action
Browse files Browse the repository at this point in the history
  • Loading branch information
cliffano committed May 26, 2024
1 parent 6d3a26f commit 52e35f8
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 39 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/release-major-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,8 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cliffano/studio-release-action@main
with:
token: ${{ secrets.STUDIO_GITHUB_TOKEN }}
- uses: actions/setup-node@v3
with:
node-version: '18'
- 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
release_type: 'major'
github_token: ${{ secrets.STUDIO_GITHUB_TOKEN }}
branch: ${{ github.ref }}

16 changes: 3 additions & 13 deletions .github/workflows/release-minor-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,8 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cliffano/studio-release-action@main
with:
token: ${{ secrets.STUDIO_GITHUB_TOKEN }}
- uses: actions/setup-node@v3
with:
node-version: '18'
- 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
release_type: 'minor'
github_token: ${{ secrets.STUDIO_GITHUB_TOKEN }}
branch: ${{ github.ref }}

16 changes: 3 additions & 13 deletions .github/workflows/release-patch-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,8 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cliffano/studio-release-action@main
with:
token: ${{ secrets.STUDIO_GITHUB_TOKEN }}
- uses: actions/setup-node@v3
with:
node-version: '18'
- 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.STUDIO_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 workflow to use studio-release-action

## 3.1.1 - 2023-10-17
### Fixed
- Fix broken text resource type support
Expand Down

0 comments on commit 52e35f8

Please sign in to comment.