Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 2 months 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 (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-26T18:54:11.000Z (7 months ago)
- Last Synced: 2024-06-26T23:18:47.422Z (7 months ago)
- Topics: build-tool, conventional-commits, docker, git, golang, maven, npm, release, samo
- Language: Go
- Homepage: https://github.com/lorislab/samo
- Size: 6.62 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# samo
Samo is a tool to help with a project release.
[![License](https://img.shields.io/github/license/lorislab/samo?style=for-the-badge&logo=apache)](https://www.apache.org/licenses/LICENSE-2.0)
[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/lorislab/samo/master.yaml?logo=github&style=for-the-badge)](https://github.com/lorislab/samo/actions?query=workflow%3Abuild)
[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/lorislab/samo?sort=semver&logo=github&style=for-the-badge)](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 branchFor 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
```