diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 98544f4..4d5abe0 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -15,9 +15,14 @@ jobs: - run: npm ci - run: bazel build package - run: rsync --copy-links --recursive --times --group --no-perms --chmod=ugo=rwX ./bazel-bin/package/package/ ./tmp_pkg - - run: npm version ${{ github.ref_name }} - working-directory: ./tmp_pkg - - run: npm publish --dry-run - working-directory: ./tmp_pkg + - name: publish + run: | + npm version ${{ github.ref_name }} + npm publish + working-directory: tmp_pkg env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_RELEASE_TOKEN }} \ No newline at end of file + NODE_AUTH_TOKEN: ${{ secrets.NPM_RELEASE_TOKEN }} + - name: Release + uses: softprops/action-gh-release@v1 + with: + generate_release_notes: true \ No newline at end of file diff --git a/package/package.json b/package/package.json index b18a5bc..ab0f553 100644 --- a/package/package.json +++ b/package/package.json @@ -4,19 +4,19 @@ "version": "0.0.0", "license": "MIT", "author": { - "email": "thesayyn@gmail.com", - "name": "thesayyn", - "url": "https://github.com/thesayyn" + "email": "thesayyn@gmail.com", + "name": "thesayyn", + "url": "https://github.com/thesayyn" }, "funding": { - "type": "individual", - "url": "https://www.buymeacoffee.com/thesayyn" + "type": "individual", + "url": "https://www.buymeacoffee.com/thesayyn" }, "repository": { - "type": "git", - "url": "https://github.com/thesayyn/protoc-gen-ts" + "type": "git", + "url": "git+https://github.com/thesayyn/protoc-gen-ts.git" }, "bin": { - "protoc-gen-ts": "./protoc-gen-ts.js" + "protoc-gen-ts": "protoc-gen-ts.js" } -} \ No newline at end of file +}