Skip to content

Commit

Permalink
set up gorelease
Browse files Browse the repository at this point in the history
  • Loading branch information
arguablykomodo committed Jul 30, 2018
1 parent 419a7f2 commit 5badb59
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 56 deletions.
54 changes: 54 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
builds:
- binary: shadowfox
goos:
- darwin
- linux
goarch:
- 386
- amd64
env:
- CGO_ENABLED=0
- binary: shadowfox
goos:
- windows
goarch:
- 386
env:
- CGO_ENABLED=0
hooks:
pre: rsrc -manifest manifest.xml -arch 386 -o shadowfox.syso
- binary: shadowfox
goos:
- windows
goarch:
- amd64
env:
- CGO_ENABLED=0
hooks:
pre: rsrc -manifest manifest.xml -arch amd64 -o shadowfox.syso
brew:
github:
owner: SrKomodo
name: homebrew-tap
folder: Formula
homepage: https://github.com/SrKomodo/shadowfox-updater
description: An automatic updater for ShadowFox
archive:
replacements:
windows: Windows
darwin: MacOS
linux: Linux
386: x32
amd64: x64
files:
- none*
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
9 changes: 3 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@ language: go
go:
- "1.10"
before_script: go get github.com/akavel/rsrc
script: go run compiler/compiler.go
deploy:
provider: releases
api_key: $KEY
- provider: script
skip_cleanup: true
file_glob: true
file: dist/**/*
script: curl -sL https://git.io/goreleaser | bash
on:
tags: true
tags: true
49 changes: 0 additions & 49 deletions compiler/compiler.go

This file was deleted.

2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package main

const version = "1.5.6"
var version = "dev"

func main() {
err := createUI()
Expand Down

0 comments on commit 5badb59

Please sign in to comment.