Skip to content

Commit

Permalink
Release v1.5.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
gjbae1212 committed Jul 13, 2022
1 parent 5c61d0b commit 69577c1
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ gossm
gossm.exe
test
coverage.txt
dist
dist
gopath
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ builds:
- all=-trimpath={{.Env.GOPATH}}
ldflags:
- -s -w
- -X main.gossmVersion=v1.4.6 # version
- -X main.gossmVersion=v1.5.0 # version
ignore:
- goos: windows
goarch: arm64
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
golang 1.18
golang 1.18.3
11 changes: 11 additions & 0 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ function test_with_circleci

function release
{
sudo rm -rf $CURRENT/dist
sudo rm -rf $CURRENT/gopath
export GOPATH=$CURRENT/gopath

tag=$1
if [ -z "$tag" ]
Expand All @@ -31,6 +34,14 @@ function release
goreleaser release --rm-dist
}

function release_test
{
sudo rm -rf $CURRENT/dist
sudo rm -rf $CURRENT/gopath
export GOPATH=$CURRENT/gopath
goreleaser release --snapshot --rm-dist
}

CMD=$1
shift
$CMD $*

0 comments on commit 69577c1

Please sign in to comment.