https://github.com/lorislab/samo
Samo developer tool to build and create release of the project (git, helm, docker, conventional-commits)
https://github.com/lorislab/samo
build-tool conventional-commits docker git golang maven npm release samo
Last synced: about 1 year ago
JSON representation
Samo developer tool to build and create release of the project (git, helm, docker, conventional-commits)
- Host: GitHub
- URL: https://github.com/lorislab/samo
- Owner: lorislab
- License: apache-2.0
- Created: 2019-11-10T18:11:46.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-05-07T10:19:02.000Z (about 1 year ago)
- Last Synced: 2025-05-07T10:49:15.101Z (about 1 year ago)
- Topics: build-tool, conventional-commits, docker, git, golang, maven, npm, release, samo
- Language: Go
- Homepage: https://github.com/lorislab/samo
- Size: 6.65 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# samo
Samo is a tool to help with a project release.
[](https://www.apache.org/licenses/LICENSE-2.0)
[](https://github.com/lorislab/samo/actions?query=workflow%3Abuild)
[](https://github.com/lorislab/samo/releases/latest)
## Commands
```shell
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:
```shell
❯ 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
```