Skip to content

Commit

Permalink
Update release documentation (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
1xyz committed May 26, 2020
1 parent 6354dbc commit 8c2db92
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
![Build](https://github.com/1xyz/coolbeans/workflows/Build/badge.svg)
![Release](https://github.com/1xyz/coolbeans/workflows/Release/badge.svg)
![Docker](https://img.shields.io/docker/pulls/1xyz/coolbeans)
[![Build](https://github.com/1xyz/coolbeans/workflows/Build/badge.svg)](https://github.com/1xyz/coolbeans/actions?query=workflow%3ABuild)
[![Release](https://github.com/1xyz/coolbeans/workflows/Release/badge.svg)](https://github.com/1xyz/coolbeans/actions?query=workflow%3ARelease)
[![Docker](https://img.shields.io/docker/pulls/1xyz/coolbeans)](https://hub.docker.com/r/1xyz/coolbeans/tags)



- [Coolbeans](#coolbeans)
- [Motivation](#motivation)
Expand Down Expand Up @@ -42,8 +44,9 @@ Key features
Releases
--------

- Static binary can be downloaded from the [release pages](https://github.com/1xyz/coolbeans/releases)
- Docker image can be pulled from [here](https://hub.docker.com/r/1xyz/coolbeans)
- Static binary can be downloaded from the [release pages](https://github.com/1xyz/coolbeans/releases).
- Docker release images can be pulled from [here](https://hub.docker.com/r/1xyz/coolbeans).
- Docker development images can be pulled from [here](https://hub.docker.com/r/1xyz/coolbeans-developer/tags).


Getting Started
Expand Down
8 changes: 8 additions & 0 deletions generate_changelog.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env bash

current_tag=$(git describe --tags)
previous_tag=$(git tag --sort=-creatordate | head -n 2 | tail -n 1)

tag_date=$(git log -1 --pretty=format:'%ad' --date=short ${current_tag})
printf "## ${current_tag} (${tag_date})\n\n"
git log ${current_tag}...${previous_tag} --pretty=format:'* %s [View](https://github.com/1xyz/coolbeans/commit/%H)' --reverse | grep -v Merge

0 comments on commit 8c2db92

Please sign in to comment.