Skip to content
This repository has been archived by the owner on Jan 18, 2021. It is now read-only.

Commit

Permalink
fix versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxys committed Sep 21, 2020
1 parent aac1f82 commit 850dade
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 88 deletions.
16 changes: 3 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
/.env
/github-releases-notifier
/release/
/github-releases-notifier*

# Binaries for programs and plugins
*.exe
*.dll
*.so
*.dylib

# Test binary, build with `go test -c`
*.test

# Output of the go coverage tool, specifically when used with LiteIDE
*.out
coverage.out
73 changes: 0 additions & 73 deletions Makefile

This file was deleted.

4 changes: 2 additions & 2 deletions cmd/github-releases-notifier/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
)

// Version of current build
var Version = "devel"
var version = "unknown"

// Config of env and args
type Config struct {
Expand All @@ -36,7 +36,7 @@ func (c Config) Token() *oauth2.Token {

// Version prints version string
func (Config) Version() string {
return "github-releases-notifier " + Version
return "github-releases-notifier " + version
}

func main() {
Expand Down

0 comments on commit 850dade

Please sign in to comment.