From d08708bec7976407a68330389c1f0884a0c5ebfc Mon Sep 17 00:00:00 2001 From: "Khoi.LN" <147135167+khoilen@users.noreply.github.com> Date: Fri, 10 Jan 2025 13:52:01 +0700 Subject: [PATCH] Style: update tag name and tile release(#44) Style: update tag name and tile release --- .github/workflows/publish-nt-css.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-nt-css.yml b/.github/workflows/publish-nt-css.yml index f92447e..bbfadad 100644 --- a/.github/workflows/publish-nt-css.yml +++ b/.github/workflows/publish-nt-css.yml @@ -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 @@ -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: @@ -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 }}