Skip to content

Commit

Permalink
Style: update tag name and tile release(#44)
Browse files Browse the repository at this point in the history
Style: update tag name and tile release
  • Loading branch information
khoilen authored Jan 10, 2025
1 parent ada8594 commit d08708b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/publish-nt-css.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 20

- name: Authenticate with npm
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_ACCESS_TOKEN }}" > ~/.npmrc
Expand All @@ -40,8 +40,8 @@ jobs:
- name: Publish to npm
run: npm publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
working-directory: apps/nt-stylesheet

create-github-release:
Expand All @@ -57,6 +57,8 @@ jobs:
- name: Create Release
run: |
version=$(jq -r '.version' apps/nt-stylesheet/package.json)
gh release create "v$version" --generate-notes
custom_tag="v$version-stylesheet"
title="$custom_tag"
gh release create "$custom_tag" --title "$title" --generate-notes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d08708b

Please sign in to comment.