File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,15 +13,15 @@ echo "Running tests..."
1313go test ./...
1414
1515echo " Update version..."
16- sed -i.bak ' s/fmt\.Println("v[0-9]*\.[0-9]*\.[0-9]*")/fmt.Println("v' $version ' ")/' captain/cmd.go
16+ sed -i.bak ' s/fmt\.Println("v[0-9]*\.[0-9]*\.[0-9]*")/fmt.Println("v' $version ' ")/' cmd/ captain/cmd.go
1717sed -i.bak ' s/captain\/releases\/download\/v[0-9]*\.[0-9]*\.[0-9]*\/captain/captain\/releases\/download\/v' $version ' \/captain/' README.md
18- rm captain/cmd.go.bak README.md.bak
18+ rm cmd/ captain/cmd.go.bak README.md.bak
1919
2020echo " Build binaries..."
2121make cross
2222
2323echo " Update repository..."
24- git add captain/cmd.go README.md
24+ git add cmd/ captain/cmd.go README.md
2525git commit -m " Preparing version ${version} "
2626git tag --message=" v$version " " v$version "
2727
You can’t perform that action at this time.
0 commit comments