Skip to content
/ samo Public

Samo developer tool to build and create release of the project (git, helm, docker, conventional-commits)

License

Notifications You must be signed in to change notification settings

lorislab/samo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

samo

Samo is a tool to help with a project release.

License GitHub Workflow Status (branch) GitHub release (latest SemVer)

Commands

samo help

The main commands:

  • samo project name - name of the project
  • samo project version - versions of the project
  • samo project docker - project docker build,push,release
  • samo project helm - project helm build,push,release
  • samo project release - release project
  • samo project patch - create patch branch

For example to build docker image of the project only with a build-version tag:

❯ samo project docker build
INFO Build docker image                     image= tags="[release-notes:3.1.0-rc.1]"
INFO docker build --pull -t release-notes:3.1.0-rc.1 -f src/main/docker/Dockerfile . 
INFO Docker build done!                     image=release-notes

Development

Local build

go install
samo version
{"Version":"dev","Commit":"none","Date":"unknown"}

Local docker build

go build
docker build -t samo .

Test release packages

goreleaser release --snapshot --clean