Skip to content

Commit 7b9c66b

Browse files
committed
fix cli
1 parent 1c3e584 commit 7b9c66b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ jobs:
2929
id: pkg
3030
shell: bash
3131
run: |
32-
VERSION=$(node -p "require('./near-connect/package.json').version")
32+
VERSION=$(node -p "require('./package.json').version")
3333
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
3434
3535
- name: Prepare release notes from CHANGELOG.md
3636
id: changelog
3737
shell: bash
3838
run: |
3939
VERSION="${{ steps.pkg.outputs.version }}"
40-
CHANGELOG="near-connect/CHANGELOG.md"
40+
CHANGELOG="CHANGELOG.md"
4141
OUT="RELEASE_CHANGELOG.md"
4242
awk -v ver="$VERSION" '
4343
$0 ~ "^# " ver "$" {print; flag=1; next}
@@ -58,7 +58,7 @@ jobs:
5858
shell: bash
5959
run: |
6060
ZIP_NAME="near-connect-${{ steps.pkg.outputs.version }}.zip"
61-
git archive -o "$ZIP_NAME" HEAD near-connect
61+
git archive -o "$ZIP_NAME" HEAD .
6262
echo "zip=$ZIP_NAME" >> $GITHUB_OUTPUT
6363
6464
- name: Create GitHub Release
@@ -69,6 +69,6 @@ jobs:
6969
body: ${{ steps.changelog.outputs.notes }}
7070
files: |
7171
${{ steps.zip.outputs.zip }}
72-
near-connect/CHANGELOG.md
72+
CHANGELOG.md
7373
env:
7474
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)