Skip to content

Commit eaa9d95

Browse files
Merge pull request #614 from VKCOM/pavelnikitin/fix/publish-vk-bridge-react/MA-25072
MA-25072: fix publisher
2 parents 4b72486 + f3af1ba commit eaa9d95

4 files changed

Lines changed: 10 additions & 12 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,19 +51,12 @@ jobs:
5151
run: npm install -g npm@latest
5252
shell: bash
5353

54-
- name: Determine package directory
55-
id: package_dir
56-
run: |
57-
if [ "${{ github.event.inputs.package_name }}" == "@vkontakte/vk-bridge" ]; then
58-
echo "directory=packages/core" >> $GITHUB_OUTPUT
59-
elif [ "${{ github.event.inputs.package_name }}" == "@vkontakte/vk-bridge-react" ]; then
60-
echo "directory=packages/react" >> $GITHUB_OUTPUT
61-
fi
54+
- name: Pack package
55+
run: yarn workspace ${{ github.event.inputs.package_name }} pack --out ../../artifact.tgz
6256
shell: bash
6357

64-
- name: Publish to npm
65-
working-directory: ${{ steps.package_dir.outputs.directory }}
66-
run: npm publish --access public
58+
- name: Publish release
59+
run: npm publish artifact.tgz --access public
6760
shell: bash
6861

6962
- name: Commit and tag

artifact.tgz

8.59 KB
Binary file not shown.

packages/react/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## v1.1.2
2+
3+
- Исправлена проблема установки: версия 1.1.1 могла не устанавливаться через npm.
4+
- Проблема с зависимостью `@vkontakte/vk-bridge: workspace:^` устранена — в публикации используется реальная версия.
5+
16
## v1.1.1
27

38
- Технический релиз

packages/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vkontakte/vk-bridge-react",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"description": "React hooks for VK Bridge",
55
"license": "MIT",
66
"main": "dist/index.js",

0 commit comments

Comments
 (0)