Skip to content

Commit

Permalink
add script release
Browse files Browse the repository at this point in the history
  • Loading branch information
ernesto27 committed Jul 1, 2023
1 parent 2b14c31 commit 86b4612
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docker/docker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func TestGetContainerName(t *testing.T) {
args: args{
names: []string{"/container_name"},
},
want: "/container_name",
want: "container_name",
},
{
name: "should get empty string args is empty",
Expand Down
9 changes: 9 additions & 0 deletions scripts/release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

echo "Creating tag and push: $1"

git tag -a $1 -m "new release"
git push origin $1

echo "Create and upload release"
goreleaser release

0 comments on commit 86b4612

Please sign in to comment.