Skip to content

Commit

Permalink
Merge pull request #234 from ClickHouse/update-publish-workflow
Browse files Browse the repository at this point in the history
update publish workflow
  • Loading branch information
serdec authored Nov 22, 2023
2 parents e10bed1 + 74c555e commit 71421b9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,16 @@ jobs:
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_CI_TOKEN }}
- name: update package version
run: |
npm i --package-lock-only
git add package.json package-lock.json
git commit -m 'bump version to ${{ env.GITHUB_TAG }}'
git push
- name: Set tag from input
if: github.event_name == 'workflow_dispatch'
run: |
git tag $GITHUB_TAG
git push origin $GITHUB_TAG
- name: update package version
run: |
npm i --package-lock-only
git add package.json package-lock.json
git commit -m 'bump version to $GITHUB_TAG'
git push -u origin main
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@clickhouse/click-ui",
"version": "0.0.64",
"version": "0.0.64-10",
"description": "Official ClickHouse design system react library",
"type": "module",
"license": "Apache-2.0",
Expand Down

1 comment on commit 71421b9

@vercel
Copy link

@vercel vercel bot commented on 71421b9 Nov 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

click-ui – ./

click-ui-clickhouse.vercel.app
click-ui-git-main-clickhouse.vercel.app
click-ui.vercel.app

Please sign in to comment.