Skip to content

Commit

Permalink
changelog edit
Browse files Browse the repository at this point in the history
  • Loading branch information
mejgun committed Aug 23, 2020
1 parent dcd6bae commit a5105dd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]

## 0.6.0 - 2020-08-23
### Added
- error-headers option
- ignore-missing-headers option
Expand Down
7 changes: 5 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# https://github.com/golang/go/blob/master/src/go/build/syslist.go

GoBin=go

BinDir="bin"
FilePrefix="yt-proxy"

Expand All @@ -13,13 +15,14 @@ ArchList=($ArchListStr)

Total=$((${#OSList[@]}*${#ArchList[@]}))

mkdir -p ${BinDir}
for OS in ${OSListStr}
do
for ARCH in ${ArchListStr}
do
echo $Total ${OS}/${ARCH}
File=${BinDir}/${FilePrefix}-${OS}-${ARCH}
GOPATH=$(pwd) GOOS=${OS} GOARCH=${ARCH} go build -ldflags '-s -w' -o ${File} > /dev/null 2>&1 && md5sum ${File} > ${File}.md5sum
File=${FilePrefix}-${OS}-${ARCH}
GOPATH=$(pwd) GOOS=${OS} GOARCH=${ARCH} $GoBin build -ldflags '-s -w' -o ${BinDir}/${File} > /dev/null 2>&1 && cd ${BinDir} && md5sum ${File} > ${File}.md5sum && cd ..
((Total=Total-1))
done
done
Expand Down

0 comments on commit a5105dd

Please sign in to comment.