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
56bf9c56
Commit
56bf9c56
authored
May 11, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(): changed how package iteration/build is generated
parent
03663c5b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
10 deletions
+8
-10
build.go
+3
-5
packaging/publish/publish.sh
+5
-5
No files found.
build.go
View file @
56bf9c56
...
...
@@ -132,12 +132,10 @@ func readVersionFromPackageJson() {
if
len
(
parts
)
>
1
{
linuxPackageVersion
=
parts
[
0
]
linuxPackageIteration
=
parts
[
1
]
if
linuxPackageIteration
!=
""
{
// add timestamp to iteration
linuxPackageIteration
=
fmt
.
Sprintf
(
"%s%v"
,
linuxPackageIteration
,
time
.
Now
()
.
Unix
())
}
log
.
Println
(
fmt
.
Sprintf
(
"Iteration %v"
,
linuxPackageIteration
))
}
// add timestamp to iteration
linuxPackageIteration
=
fmt
.
Sprintf
(
"%d%s"
,
time
.
Now
()
.
Unix
(),
linuxPackageIteration
)
}
type
linuxPackageOptions
struct
{
...
...
packaging/publish/publish.sh
View file @
56bf9c56
#! /usr/bin/env bash
deb_ver
=
3.0.
0-beta51460725904
rpm_ver
=
3.0.
0-beta51460725904
deb_ver
=
3.0.
1
rpm_ver
=
3.0.
1-1
#rpm_ver=3.0.0-1
...
...
@@ -16,7 +16,7 @@ rpm_ver=3.0.0-beta51460725904
#wget https://grafanarel.s3.amazonaws.com/builds/grafana-${rpm_ver}.x86_64.rpm
#package_cloud push grafana/testing/el/6 grafana-${rpm_ver}.x86_64.rpm
package_cloud push grafana/testing/el/7 grafana-
${
rpm_ver
}
.x86_64.rpm
#
package_cloud push grafana/testing/el/7 grafana-${rpm_ver}.x86_64.rpm
# package_cloud push grafana/stable/el/7 grafana-${version}-1
.x86_64.rpm
# package_cloud push grafana/stable/el/6 grafana-${version}-1
.x86_64.rpm
package_cloud push grafana/stable/el/7 grafana-
${
version
}
.x86_64.rpm
package_cloud push grafana/stable/el/6 grafana-
${
version
}
.x86_64.rpm
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