Skip to content

Commit

Permalink
Run release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
thecrypticace committed Jan 9, 2025
1 parent 4e19bbe commit e162c51
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
required: false
default: 'next'
type: string
pull_request:

permissions:
contents: read
Expand Down Expand Up @@ -243,22 +244,23 @@ jobs:
name: tailwindcss-standalone
path: packages/@tailwindcss-standalone/dist/

- name: Publish
run: pnpm --recursive publish --tag ${{ inputs.release_channel }} --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# - name: Publish
# run: pnpm --recursive publish --tag ${{ inputs.release_channel }} --no-git-checks
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Alias packages to `latest`
if: ${{ inputs.release_channel == 'next' }}
run: |
npm dist-tag add @tailwindcss/upgrade@${{ env.TAG_NAME }} latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# - name: Alias packages to `latest`
# if: ${{ inputs.release_channel == 'next' }}
# run: |
# npm dist-tag add @tailwindcss/upgrade@${{ env.TAG_NAME }} latest
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Release
uses: softprops/action-gh-release@v2
with:
draft: true
name: temp-musl-draft
tag_name: ${{ env.TAG_NAME }}
body: |
${{ env.RELEASE_NOTES }}
Expand Down

0 comments on commit e162c51

Please sign in to comment.