Skip to content

Commit ad32201

Browse files
committed
chore(ci): test release
1 parent 27c0d56 commit ad32201

File tree

4 files changed

+15
-5
lines changed

4 files changed

+15
-5
lines changed

.github/workflows/publish.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,3 @@ jobs:
3939

4040
- name: Publish to npm
4141
run: npm publish
42-
env:
43-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/release.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959
6060
- name: Create Release
6161
if: steps.version-check.outputs.version_changed == 'true'
62+
id: create_release
6263
uses: actions/create-release@v1
6364
env:
6465
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -71,7 +72,18 @@ jobs:
7172
This release was automatically created due to a version bump in package.json.
7273
7374
### Version Changes
74-
- Previous: ${{ steps.version-check.outputs.previous_version }}
75+
- Previous: ${{ steps.version-check.outputs.npm_version }}
7576
- Current: ${{ steps.version-check.outputs.current_version }}
7677
draft: false
7778
prerelease: false
79+
80+
- name: Upload Release Assets
81+
if: steps.version-check.outputs.version_changed == 'true'
82+
uses: actions/upload-release-asset@v1
83+
env:
84+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
85+
with:
86+
upload_url: ${{ steps.create_release.outputs.upload_url }}
87+
asset_path: ./dist
88+
asset_name: dist.zip
89+
asset_content_type: application/zip

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "judgeval",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"description": "JavaScript/TypeScript client for Judgment evaluation platform",
55
"main": "./dist/index.js",
66
"module": "./dist/index.mjs",

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VERSION = "0.3.0";
1+
export const VERSION = "0.3.1";

0 commit comments

Comments
 (0)