File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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}
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
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 }}
You can’t perform that action at this time.
0 commit comments