chore: fix notation

This commit is contained in:
Nick the Sick 2024-07-03 20:44:36 +02:00
parent 76063d7f3b
commit 1fc534f17f
No known key found for this signature in database
GPG Key ID: F575992F156E5BCC

View File

@ -55,7 +55,8 @@ jobs:
with: with:
publish: ${{ github.ref_name == 'main' && 'npm run publish' || 'npm run publish:pre' }} publish: ${{ github.ref_name == 'main' && 'npm run publish' || 'npm run publish:pre' }}
title: ${{ github.ref_name == 'main' && 'Publish a new stable version' || 'Publish a new pre-release version' }} title: ${{ github.ref_name == 'main' && 'Publish a new stable version' || 'Publish a new pre-release version' }}
commit: ${{ github.ref_name == 'main' && 'chore(release): publish a new release version' || 'chore(release): publish a new pre-release version' }} commit: >-
${{ github.ref_name == 'main' && 'chore(release): publish a new release version' || 'chore(release): publish a new pre-release version' }}
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}