Skip to content

Commit

Permalink
chore: custom release
Browse files Browse the repository at this point in the history
  • Loading branch information
hardfist committed May 25, 2023
1 parent 246a271 commit e7899c3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 39 deletions.
8 changes: 0 additions & 8 deletions .changeset/README.md

This file was deleted.

17 changes: 0 additions & 17 deletions .changeset/config.json

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/twelve-dots-repair.md

This file was deleted.

18 changes: 9 additions & 9 deletions .github/workflows/release-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ on:
required: true
default: "latest"
options:
- canary
- alpha
- beta
- latest
- major
- minor
- patch
- snapshot
schedule:
# 08:00 AM Beijing Time on every Tuesday
- cron: "0 0 * * 2"
Expand All @@ -32,12 +32,12 @@ jobs:
uses: ./.github/actions/pnpm-cache

- name: Create Release Pull Request
uses: web-infra-dev/actions@v2
uses: changesets/action@v1
with:
version: ${{ inputs.version || 'latest' }}
versionNumber: "auto"
type: "pull request"
tools: "changeset"
version: node ./x version ${{inputs.version || 'canary'}}
commit: Release
title: Release
createGithubReleases: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit e7899c3

Please sign in to comment.