Skip to content

chore: update release workflow #116

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jul 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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