We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f2039c commit 109ab00Copy full SHA for 109ab00
1 file changed
.github/workflows/release.yaml
@@ -29,12 +29,15 @@ jobs:
29
- name: Update package.json version
30
run: |
31
cd projects/layout-components
32
- npm version --no-git-tag-version ${{ steps.get_tag_version.outputs.tag_version }}
+ npm version --no-git-tag-version ${{ steps.get_tag_version.outputs.tag_version }} || true
33
+ cd ../..
34
git config --global user.name "nemobot"
35
git config --global user.email "our-bots+nemobot@buildo.io"
- git add package.json
36
- git commit -m "Update package version"
37
- git push origin HEAD:main
+ git diff --quiet projects/layout-components/package.json || {
+ git add projects/layout-components/package.json
38
+ git commit -m "Update package version"
39
+ git push origin HEAD:main
40
+ }
41
42
- name: Build package
43
run: npm run ng build layout-components
0 commit comments