diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f3cee4d8..2a46660f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 + diff --git a/package-lock.json b/package-lock.json index 8f9cda53..7d404bb6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@clickhouse/click-ui", - "version": "0.0.64", + "version": "0.0.64-10", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@clickhouse/click-ui", - "version": "0.0.64", + "version": "0.0.64-10", "license": "Apache-2.0", "dependencies": { "@radix-ui/react-accordion": "^1.1.2", diff --git a/package.json b/package.json index 97949def..16350ecc 100644 --- a/package.json +++ b/package.json @@ -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",