Skip to content

Commit

Permalink
fix: main package version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
jacovinus committed Jun 17, 2024
1 parent e370064 commit 2635cff
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/ci-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,27 @@ jobs:

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: "Main Package Version Bump"
if: github.event_name != 'pull_request'
id: main-version
uses: "phips28/gh-action-bump-version@master"
with:
tag-prefix: "v"
skip-tag: true

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PACKAGEJSON_DIR: 'packages/main'

- name: "version check"
if: github.event_name != 'pull_request'
run: echo ${{steps.version.outputs.newTag}}

- name: "main version check"
if: github.event_name != 'pull_request'
run: echo ${{steps.main-version.outputs.newTag}}

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion packages/main/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ui/main",
"private": true,
"version": "1.0",
"version": "1.0.0",
"type": "module",
"scripts": {
"dev": "VITE_APP_VERSION=$npm_package_version vite",
Expand Down

0 comments on commit 2635cff

Please sign in to comment.