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
f97f12f6
Unverified
Commit
f97f12f6
authored
Oct 01, 2020
by
Arve Knudsen
Committed by
GitHub
Oct 01, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drone: Don't use npx (#27955)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
parent
9546da31
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
scripts/circle-release-next-packages.sh
+4
-4
No files found.
scripts/circle-release-next-packages.sh
View file @
f97f12f6
...
@@ -12,8 +12,8 @@ function parse_git_hash() {
...
@@ -12,8 +12,8 @@ function parse_git_hash() {
function
prepare_version_commit
()
{
function
prepare_version_commit
()
{
echo
$'
\n
Committing version changes. This commit will not be checked-in!'
echo
$'
\n
Committing version changes. This commit will not be checked-in!'
git config
--global
user.email
"
circleci
@grafana.com"
git config
--global
user.email
"
drone
@grafana.com"
git config
--global
user.name
"
CirceCI
"
git config
--global
user.name
"
Drone
"
git commit
-am
"Version commit"
git commit
-am
"Version commit"
}
}
...
@@ -40,7 +40,7 @@ function unpublish_previous_canary () {
...
@@ -40,7 +40,7 @@ function unpublish_previous_canary () {
# Get current version from lerna.json
# Get current version from lerna.json
PACKAGE_VERSION
=
$(
grep
'"version"'
lerna.json | cut
-d
'"'
-f
4
)
PACKAGE_VERSION
=
$(
grep
'"version"'
lerna.json | cut
-d
'"'
-f
4
)
# Get
current commit's short hash
# Get current commit's short hash
GIT_SHA
=
$(
parse_git_hash
)
GIT_SHA
=
$(
parse_git_hash
)
echo
"Commit:
${
GIT_SHA
}
"
echo
"Commit:
${
GIT_SHA
}
"
...
@@ -54,7 +54,7 @@ if [ -z "$count" ]; then
...
@@ -54,7 +54,7 @@ if [ -z "$count" ]; then
else
else
echo
"Changes detected in
${
count
}
packages"
echo
"Changes detected in
${
count
}
packages"
echo
"Releasing packages under
${
PACKAGE_VERSION
}
-
${
GIT_SHA
}
"
echo
"Releasing packages under
${
PACKAGE_VERSION
}
-
${
GIT_SHA
}
"
npx
lerna version
"
${
PACKAGE_VERSION
}
-
${
GIT_SHA
}
"
--exact
--no-git-tag-version
--no-push
--force-publish
-y
./node_modules/.bin/
lerna version
"
${
PACKAGE_VERSION
}
-
${
GIT_SHA
}
"
--exact
--no-git-tag-version
--no-push
--force-publish
-y
echo
$'
\n
Git status:'
echo
$'
\n
Git status:'
git status
-s
git status
-s
...
...
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