Skip to content

Commit 0274aa1

Browse files
author
skychx
committed
chore(all): 0.2.0-alpha.2
1 parent 5069041 commit 0274aa1

File tree

5 files changed

+5
-39
lines changed

5 files changed

+5
-39
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -45,39 +45,5 @@ jobs:
4545
- name: Build
4646
run: pnpm run build
4747

48-
- name: Extract version from tag
49-
id: version
50-
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
51-
52-
- name: Update package versions to tag version
53-
run: |
54-
VERSION="${{ steps.version.outputs.VERSION }}"
55-
echo "Updating all packages to version $VERSION"
56-
57-
# Update all package.json files in packages directory
58-
for pkg in packages/*/package.json; do
59-
echo "Updating $pkg to version $VERSION"
60-
jq --arg version "$VERSION" '.version = $version' "$pkg" > tmp.json && mv tmp.json "$pkg"
61-
done
62-
63-
- name: Create GitHub Release
64-
uses: softprops/action-gh-release@v1
65-
with:
66-
tag_name: ${{ github.ref_name }}
67-
name: Release ${{ steps.version.outputs.VERSION }}
68-
draft: false
69-
prerelease: false
70-
env:
71-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
72-
7348
- name: Publish to npm
74-
run: |
75-
VERSION="${{ steps.version.outputs.VERSION }}"
76-
# Check if version contains pre-release identifier
77-
if [[ "$VERSION" =~ -[a-zA-Z0-9.-]+$ ]]; then
78-
# This is a pre-release version
79-
pnpm publish -r --filter "{packages/*}" --access public --no-git-checks --tag beta
80-
else
81-
# This is a stable release
82-
pnpm publish -r --filter "{packages/*}" --access public --no-git-checks --tag latest
83-
fi
49+
run: pnpm publish -r --filter "{packages/*}" --access public --no-git-checks

packages/browser-context/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@agent-infra/browser-context",
33
"description": "get browser context for AI Agent",
4-
"version": "0.2.0",
4+
"version": "00.2.0-alpha.3",
55
"main": "dist/index.js",
66
"module": "dist/index.mjs",
77
"types": "dist/index.d.ts",

packages/browser-finder/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@agent-infra/browser-finder",
33
"description": "find browser in your system",
4-
"version": "0.2.0",
4+
"version": "00.2.0-alpha.3",
55
"main": "dist/index.js",
66
"module": "dist/index.mjs",
77
"types": "dist/index.d.ts",

packages/browser-ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@agent-infra/browser-ui",
3-
"version": "0.2.0",
3+
"version": "00.2.0-alpha.3",
44
"exports": {
55
"./react": {
66
"types": "./dist/react/index.d.ts",

packages/browser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@agent-infra/browser",
33
"description": "agent-infra browser",
4-
"version": "0.2.0",
4+
"version": "00.2.0-alpha.3",
55
"main": "dist/index.js",
66
"module": "dist/index.mjs",
77
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)