@hautechai/sdk 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,9 +11,7 @@ on:
11
11
  workflow_dispatch:
12
12
 
13
13
  env:
14
- APP_NAME: sdk
15
14
  NODE_VERSION: 22
16
- TAG_PREFIX: "@hautechai"
17
15
 
18
16
  permissions:
19
17
  contents: write
@@ -61,8 +59,6 @@ jobs:
61
59
  runs-on: ubuntu-22.04
62
60
  needs: [test]
63
61
  name: Release
64
- # outputs:
65
- # release_created: ${{ steps.semantic.outputs.release_created }}
66
62
  steps:
67
63
  - uses: tibdex/github-app-token@v2
68
64
  id: generate_token
@@ -104,52 +100,4 @@ jobs:
104
100
  run: pnpm run up-versions
105
101
  env:
106
102
  GH_TOKEN: ${{ steps.generate_token.outputs.token }}
107
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
108
-
109
- # publish:
110
- # runs-on: ubuntu-22.04
111
- # name: Publish
112
- # needs: [version]
113
- # environment: main
114
- # if: (!contains(needs.version.result, 'failure') && needs.version.outputs.release_created == 'true' && always())
115
- # steps:
116
- # - name: Checkout
117
- # uses: actions/checkout@v4.2.2
118
- # with:
119
- # fetch-depth: 0
120
- #
121
- # - name: Setup PNPM
122
- # uses: pnpm/action-setup@v3
123
- # with:
124
- # run_install: false
125
- #
126
- # - name: Setup Node.js
127
- # uses: actions/setup-node@v4.4.0
128
- # with:
129
- # node-version: ${{ env.NODE_VERSION }}
130
- # registry-url: 'https://registry.npmjs.org'
131
- # cache: 'pnpm'
132
- #
133
- # - name: Install dependencies
134
- # run: pnpm install --frozen-lockfile
135
- # env:
136
- # HUSKY: 0
137
- #
138
- # - name: Get version
139
- # id: version
140
- # run: |
141
- # git fetch --all --tags
142
- #
143
- # TAG=$(git tag --list "${{ env.TAG_PREFIX }}/${{ env.APP_NAME }}@*" | sort -V | tail -n 1 | awk -F'@' '{print $3}')
144
- #
145
- # echo "tag=$TAG" >> $GITHUB_OUTPUT
146
- #
147
- # - name: Build the package
148
- # run: pnpm build
149
- #
150
- # - name: Publish the package
151
- # run: |
152
- # pnpm version from-git --no-commit-hooks --no-git-tag-version --allow-same-version
153
- # pnpm publish --no-git-checks --access public
154
- # env:
155
- # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
103
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
package/CHANGELOG.md CHANGED
@@ -1 +1 @@
1
- ## [1.0.4](https://github.com/HautechAI/sdk/compare/@hautechai/sdk@1.0.3...@hautechai/sdk@1.0.4) (2025-07-17)
1
+ ## [1.0.5](https://github.com/HautechAI/sdk/compare/@hautechai/sdk@1.0.4...@hautechai/sdk@1.0.5) (2025-07-18)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hautechai/sdk",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "license": "MIT",
5
5
  "keywords": [],
6
6
  "repository": {
@@ -1,3 +1,6 @@
1
1
  #!/bin/bash
2
2
 
3
- pnpm semantic-release -t "${TAG_PREFIX}/${APP_NAME}@\${version}" --no-ci
3
+ # Extract package name from package.json
4
+ PACKAGE_NAME=$(node -p "require('./package.json').name")
5
+
6
+ pnpm semantic-release -t "${PACKAGE_NAME}@\${version}" --no-ci