Skip to content

Commit

Permalink
fix: lerna releases (#3214)
Browse files Browse the repository at this point in the history
  • Loading branch information
stepan662 authored Jul 3, 2023
1 parent 56cd929 commit 8e9b5e2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

- name: Update version locally
run: |
lerna version prerelease --yes --conventional-commits --conventional-prerelease --preid prerelease.$(git rev-parse --short HEAD) \
lerna version prerelease --yes --conventional-prerelease --preid prerelease.$(git rev-parse --short HEAD) \
--force-publish --no-push --no-git-tag-version --exact
# Set TOLGEE_UI_VERSION for @tolgee/core build
Expand All @@ -56,7 +56,7 @@ jobs:
run: |
git stash
git push --follow-tags -u origin $(git rev-parse --abbrev-ref HEAD)
lerna version prerelease --yes --conventional-commits --conventional-prerelease --preid prerelease.$(git rev-parse --short HEAD) \
lerna version prerelease --yes --conventional-prerelease --preid prerelease.$(git rev-parse --short HEAD) \
--force-publish --exact --create-release github
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

- name: Update version locally
run: |
lerna version --yes --conventional-graduate --conventional-commits --exact --force-publish \
lerna version --yes --exact --force-publish \
--no-push --no-git-tag-version
# Set TOLGEE_UI_VERSION for @tolgee/core build
Expand All @@ -55,7 +55,7 @@ jobs:
- name: Recreate release with push
run: |
git stash
lerna version --yes --conventional-commits --conventional-graduate --exact --force-publish \
lerna version --yes --exact --force-publish \
--create-release github
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 1 addition & 2 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"**/*.spec.ts",
"**/*.test.tsx",
"**/*.spec.tsx",
"**/package-lock.json",
"lerna.json"
"**/package-lock.json"
]
}
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tolgee/core",
"version": "5.8.5",
"version": "5.9.2",
"description": "Library providing ability to translate messages directly in context of developed application.",
"main": "./dist/tolgee.cjs.js",
"module": "./dist/tolgee.esm.js",
Expand Down

0 comments on commit 8e9b5e2

Please sign in to comment.