Skip to content

Commit

Permalink
go.mod: Update underlying package version. (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
hjpotter92 authored Feb 15, 2022
1 parent 94ea3b7 commit a00eb6e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 173 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/go.yml → .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,33 +60,32 @@ jobs:
go get -v -t -d ./...
- name: Build
run: |
mkdir -p build/ releases/
for platform in linux darwin windows
do
for arch in arm64 amd64
do
GOOS="$platform" GOARCH="$arch" make -j4 all GO_BUILD_DIR="build/${platform}/${arch}/"
cd "build/${platform}/${arch}"
GOOS="$platform" GOARCH="$arch" make -j4 all GO_BUILD_DIR="build/"
cd "build/"
for file in $(find . -type f -perm -a+x)
do
f_name="$(basename $file)"
mv "${f_name}" "livepeer-${f_name}"
if [ "$platform" = "windows" ]
then
zip -9 "livepeer-${f_name/.exe/}-windows-${arch}.zip" "livepeer-${f_name}"
zip -9 "../releases/livepeer-${f_name/.exe/}-windows-${arch}.zip" "livepeer-${f_name}"
else
tar -czf "livepeer-${f_name}-${platform}-${arch}.tar.gz" "livepeer-${f_name}"
tar -czf "../releases/livepeer-${f_name}-${platform}-${arch}.tar.gz" "livepeer-${f_name}"
fi
done
cd -
done
done
find . -type f -name 'livepeer-*.zip' -o -name 'livepeer-*.tar.gz' -exec mv '{}' build/ \;
- name: Release Posix
uses: softprops/action-gh-release@v1
with:
files: |
build/livepeer-*.tar.gz
build/livepeer-*.zip
releases/livepeer-*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,15 @@ require (
github.com/Necroforger/dgrouter v0.0.0-20190528143456-040421b5a83e
github.com/PagerDuty/go-pagerduty v1.3.0
github.com/bwmarrin/discordgo v0.20.2
github.com/go-kit/kit v0.10.0 // indirect
github.com/golang/glog v0.0.0-20210429001901-424d2337a529
github.com/gorilla/websocket v1.4.2 // indirect
github.com/gosuri/uilive v0.0.3 // indirect
github.com/gosuri/uiprogress v0.0.1
github.com/livepeer/joy4 v0.1.2-0.20210601043311-c1b885884cc7
github.com/livepeer/leaderboard-serverless v1.0.0
github.com/livepeer/livepeer-data v0.4.8
github.com/livepeer/livepeer-data v0.4.11
github.com/livepeer/m3u8 v0.11.1
github.com/mattn/go-isatty v0.0.8 // indirect
github.com/nbio/hitch v0.0.0-20200727225606-6dd6dd293f2b // indirect
github.com/patrickmn/go-cache v2.1.0+incompatible
github.com/peterbourgon/ff v1.7.0
github.com/peterbourgon/ff/v2 v2.0.0
Expand Down
Loading

0 comments on commit a00eb6e

Please sign in to comment.