Skip to content

Commit

Permalink
Release 0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
alanconway committed May 31, 2024
1 parent d0b1c1b commit 1599cd1
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 0 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Change Log

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased] - 2024-05-30

## [0.0.1] - 2024-05-30

### Added

First version of `korrel8rcli` command.
- REST client, command line access to a remote korrel8r server. See `korrel8rcli --help`
- Web browser API using data from remote korrel8r server, see `korrel8rcli web --help`
- Client packages for 3rd party use, see ./pkg/swagger

13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

VERSION=0.0.1

all: build test

build:
go build ./...

test:
go test ./...

release: all
hack/tag-release.sh $(VERSION)
16 changes: 16 additions & 0 deletions hack/tag-release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash
# Apply and push a release tag.
set -e
VERSION=$1
[[ "$VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+(-[^[:space:]]+)?$ ]] || {
echo "not a semantic version X.Y.Z: $VERSION"
exit 1
}
[ "$(git status -s)" = "" ] || {
git status
echo "working directory not clean"
exit 1
}
set -x
git tag "v$VERSION" -a -m "Release $VERSION"
git push --follow-tags

0 comments on commit 1599cd1

Please sign in to comment.