Skip to content

Commit

Permalink
s/Kick/Initiate @web5/api release
Browse files Browse the repository at this point in the history
  • Loading branch information
leordev committed Mar 29, 2024
1 parent 9a2d811 commit fdb0e07
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
inputs:
kick_api_release:
description: "Kick @web5/api release"
initiate_api_release:
description: "Initiate @web5/api release"
required: false
default: false
type: boolean
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
run: scripts/changesets-api-release-check.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
KICK_API_RELEASE: ${{ github.event.inputs.kick_api_release || '' }}
KICK_API_RELEASE: ${{ github.event.inputs.initiate_api_release || '' }}

- name: Create Release Pull Request or Publish to npm
uses: changesets/action@aba318e9165b45b7948c60273e0b72fce0a64eb9 # v1.4.7
Expand All @@ -87,7 +87,7 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Label Changesets PR with API release
if: github.event.inputs.kick_api_release && steps.changesets.outputs.pullRequestNumber != ''
if: github.event.inputs.initiate_api_release && steps.changesets.outputs.pullRequestNumber != ''
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
script: |
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ Check below how to enable the `@web5/api` package release.
##### @web5/api New Standalone Release

1. Go to the [Release workflow](https://github.com/TBD54566975/web5-js/actions/workflows/release.yml)
2. Press the `Run Workflow` button and select the `Kick @web5/api release` checkbox
2. Press the `Run Workflow` button and select the `Initiate @web5/api release` checkbox
3. Push `Run Workflow`

This will create a new [Version Packages PR](https://github.com/TBD54566975/tbdex-js/pulls?q=is%3Apr+author%3Aapp%2Fgithub-actions+%22Version+Packages%22+is%3Aopen) with the `@web5/api` package bump, if there are any relevant changesets for the package.
Expand Down

0 comments on commit fdb0e07

Please sign in to comment.