Skip to content

Commit 5c41a13

Browse files
authored
🔧 chore: Fix release command paths (#56)
1 parent ec1c389 commit 5c41a13

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
id: auth
2626
uses: actions/create-github-app-token@v3
2727
with:
28-
app-id: ${{ secrets.AUTH_APP_ID }}
28+
client-id: ${{ secrets.AUTH_APP_ID }}
2929
private-key: ${{ secrets.AUTH_APP_KEY }}
3030

3131
- name: Clean pnpm setup cache
@@ -44,7 +44,7 @@ jobs:
4444
run: pnpm install --frozen-lockfile
4545

4646
- name: Run release script
47-
run: pnpx @localazy/workflow-scripts create-release-pr .
47+
run: pnpx @localazy/workflow-scripts create-release-pr
4848
env:
4949
GITHUB_TOKEN: ${{ steps.auth.outputs.token }}
5050

@@ -60,7 +60,7 @@ jobs:
6060
id: auth
6161
uses: actions/create-github-app-token@v3
6262
with:
63-
app-id: ${{ secrets.AUTH_APP_ID }}
63+
client-id: ${{ secrets.AUTH_APP_ID }}
6464
private-key: ${{ secrets.AUTH_APP_KEY }}
6565

6666
- name: Checkout repository
@@ -102,12 +102,10 @@ jobs:
102102
- name: Create and push git tag
103103
id: git-tag
104104
run: |
105-
NAME=$(node -p "require('./package.json').name")
106105
VERSION=$(node -p "require('./package.json').version")
107-
TAG="${NAME}@${VERSION}"
108-
git tag "${TAG}"
109-
git push origin "${TAG}"
110-
echo "tag=${TAG}" >> "$GITHUB_OUTPUT"
106+
git tag "${VERSION}"
107+
git push origin "${VERSION}"
108+
echo "tag=${VERSION}" >> "$GITHUB_OUTPUT"
111109
echo "version=${VERSION}" >> "$GITHUB_OUTPUT"
112110
113111
- name: Create GitHub Release

0 commit comments

Comments
 (0)