Skip to content

Commit

Permalink
Merge branch 'release/0.4.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
nwtgck committed Dec 11, 2020
2 parents edb8eca + 051b4ab commit 281bca7
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 2 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: goreleaser

on:
push:
tags:
- '*'

jobs:
goreleaser:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: v0.149.0
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
49 changes: 49 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
project_name: piping-tunnel
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
- freebsd
goarch:
- amd64
- arm
- arm64
- 386
- ppc64le
- s390x
- mips64
- mips64le
goarm:
- 6
- 7
main: ./main/main.go
archives:
- name_template: '{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}-{{ .Mips }}{{ end }}'
format_overrides:
- goos: windows
format: zip
nfpms:
- license: MIT
maintainer: Ryo Ota <nwtgck@nwtgck.org>
homepage: https://github.com/nwtgck/go-piping-tunnel
description: "Tunnel over HTTP with Piping Server"
formats:
- rpm
- deb
file_name_template: '{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}-{{ .Mips }}{{ end }}'
checksum:
name_template: 'checksums.txt'
release:
github:
disable: false
prerelease: auto
name_template: "{{.ProjectName}}-v{{.Version}}"
brews:
- tap:
owner: nwtgck
name: homebrew-piping-tunnel
homepage: "https://github.com/nwtgck/go-piping-tunnel"
description: "Tunnel over HTTP with Piping Server"
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)

## [Unreleased]

## [0.4.2] - 2020-12-1
### Changed
* No change (for release)

## [0.4.1] - 2020-12-08
### Changed
* (internal) Specify buffer sizes
Expand Down Expand Up @@ -51,7 +55,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
### Added
* Initial release

[Unreleased]: https://github.com/nwtgck/go-piping-tunnel/compare/v0.4.1...HEAD
[Unreleased]: https://github.com/nwtgck/go-piping-tunnel/compare/v0.4.2...HEAD
[0.4.2]: https://github.com/nwtgck/go-piping-tunnel/compare/v0.4.1...v0.4.2
[0.4.1]: https://github.com/nwtgck/go-piping-tunnel/compare/v0.4.0...v0.4.1
[0.4.0]: https://github.com/nwtgck/go-piping-tunnel/compare/v0.3.1...v0.4.0
[0.3.1]: https://github.com/nwtgck/go-piping-tunnel/compare/v0.3.0...v0.3.1
Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package version

const Version = "0.4.1"
const Version = "0.4.2"

0 comments on commit 281bca7

Please sign in to comment.