Skip to content

Commit

Permalink
chore: update release workflow (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
d3lm authored Jul 4, 2024
1 parent 8759afa commit 07d23c1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/prepare-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
uses: peter-evans/create-pull-request@v6
with:
# Note: `publish-release.yaml` checks explicitly for this commit message
commit-message: 'chore: release @tutorialkit packages, version: ${{ inputs.version }}'
title: 'chore: release @tutorialkit packages, version: ${{ inputs.version }}'
body: 'Bump packages to version ${{ inputs.version }} and generate changelogs'
commit-message: 'chore: release `@tutorialkit` packages v${{ inputs.version }}'
title: 'chore: release `@tutorialkit` packages v${{ inputs.version }}'
body: 'Bump `@tutorialkit` packages to version ${{ inputs.version }} and generate changelogs.'
reviewers: SamVerschueren,d3lm,Nemikolh,AriPerkkio
branch: chore/release-${{ inputs.version }}
10 changes: 5 additions & 5 deletions .github/workflows/publish-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
contents: write
id-token: write
# Note: `prepare-release.yaml` sets this commit message
if: ${{ contains(github.event.head_commit.message, 'release @tutorialkit packages') }}
if: ${{ contains(github.event.head_commit.message, 'release `@tutorialkit` packages') }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -68,9 +68,9 @@ jobs:
uses: peter-evans/create-pull-request@v6
with:
# Note: `publish-release.yaml` checks explicitly for this commit message
commit-message: 'chore: release tutorialkit CLI, version: ${{ steps.resolve-release-version.outputs.version }}'
title: 'chore: release tutorialkit CLI, version: ${{ steps.resolve-release-version.outputs.version }}'
body: 'Bump tutorialkit CLI to version ${{ steps.resolve-release-version.outputs.version }}'
commit-message: 'chore: release TutorialKit CLI v${{ steps.resolve-release-version.outputs.version }}'
title: 'chore: release TutorialKit CLI v${{ steps.resolve-release-version.outputs.version }}'
body: 'Bump TutorialKit CLI to version ${{ steps.resolve-release-version.outputs.version }}.'
reviewers: SamVerschueren,d3lm,Nemikolh,AriPerkkio
branch: chore/release-cli-${{ steps.resolve-release-version.outputs.version }}

Expand All @@ -81,7 +81,7 @@ jobs:
contents: write
id-token: write
# Note: `prepare-release.yaml` sets this commit message
if: ${{ contains(github.event.head_commit.message, 'release tutorialkit CLI') }}
if: ${{ contains(github.event.head_commit.message, 'release TutorialKit CLI') }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 07d23c1

Please sign in to comment.