Skip to content

Commit

Permalink
Source code changes for 1.0.0 version number.
Browse files Browse the repository at this point in the history
  • Loading branch information
Izak Marais committed Feb 28, 2018
1 parent 3ef2ea6 commit 563f465
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build: $(TARGET)

.PHONY: docker-build
docker-build:
@docker build -t grafana-reporter:0.6.2 .
@docker build -t grafana-reporter:1.0.0 .

.PHONY: test
test: $(TARGET)
Expand All @@ -21,8 +21,8 @@ $(TARGET): $(GOPATH)/bin/dep

.PHONY: compose-up
compose-up:
@docker-compose -f ./util/docker-compose.yml up
@docker-compose -f ./util/docker-compose.yml up

.PHONY: compose-down
compose-down:
@docker-compose -f ./util/docker-compose.yml stop
@docker-compose -f ./util/docker-compose.yml stop
10 changes: 5 additions & 5 deletions cmd/grafana-reporter/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

package main

//File generated by Gradle build. Do not edit
const generatedMajor = "0"
const generatedMinor = "6"
const generatedRelease = "2"
const generatedGitHash = "de8d06baeab734a93ce36032d283c852de5d394e"
//When making new release also tag git repo and update Makefile docker-buil job
const generatedMajor = "1"
const generatedMinor = "0"
const generatedRelease = "0"
const generatedGitHash = "3ef2ea6be5825d8f5c9a1397bcdfa14020662258"
8 changes: 7 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ The link will render a dashboard with your current dashboard time range.
A example template (enhanced.tex) is provided that utilizes all the reporter features.
It shows how the dashboard description, row and graph titles and template variable values can be used in a report.

## Test
## Development

### Test

The unit tests can be run using the go tool:

Expand All @@ -96,3 +98,7 @@ The unit tests can be run using the go tool:
or, the [GoConvey](http://goconvey.co/) webGUI:

./bin/goconvey -workDir `pwd`/src/github.com/IzakMarais -excludedDirs `pwd`/src/github.com/IzakMarais/reporter/tmp/

### Release

A new release requires changes to the git tag, `cmd/grafana-reporter/version.go` and `Makefile: docker-build` job.

0 comments on commit 563f465

Please sign in to comment.