Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
88d9a3b4
Unverified
Commit
88d9a3b4
authored
Jul 15, 2019
by
Dominik Prokop
Committed by
GitHub
Jul 15, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build: detect changes to packages based on the git diff (#18118)
parent
de705229
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
scripts/circle-release-next-packages.sh
+4
-2
No files found.
scripts/circle-release-next-packages.sh
View file @
88d9a3b4
...
...
@@ -19,8 +19,10 @@ GIT_SHA=$(parse_git_hash)
echo
"Commit:
${
GIT_SHA
}
"
echo
"Current lerna.json version:
${
PACKAGE_VERSION
}
"
# count packages that changed
count
=
`
npx lerna changed
--loglevel
silent | awk
'{c++} END {print c}'
`
# check if there were any changes to packages between current and previous commit
count
=
`
git diff HEAD~1..HEAD
--name-only
--
packages | awk
'{c++} END {print c}'
`
if
[
-z
$count
]
;
then
echo
"No changes in packages, skipping packages publishing"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment