Skip to content

Commit

Permalink
build: release 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Joxit committed Nov 11, 2020
1 parent 9af9067 commit bea22fa
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 2 deletions.
24 changes: 23 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,32 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build
run: cargo build --release
- name: Run tests
run: cargo test
- name: Publish
env:
CRATE_IO_ACCESS_TOKEN: ${{ secrets.CRATE_IO_ACCESS_TOKEN }}
run: cargo publish --token $CRATE_IO_ACCESS_TOKEN
- name: Create Release Note
run: target/release/kokai release --tag ${{ github.ref }} . > RELEASE_NOTE.md
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body_path: RELEASE_NOTE.md
draft: false
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./target/release/kokai
asset_name: kokai-linux-x86_64
8 changes: 8 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@
name = "kokai"
version = "0.1.0"
authors = ["Jones Magloire @Joxit"]
description = "Create changelog for your releases and full changelog for your projects using Conventional Commits."
edition = "2018"
license = "MIT"
repository = "https://github.com/Joxit/kokai"
homepage = "https://github.com/Joxit/kokai"
documentation = "https://docs.rs/kokai/"
readme = "README.md"
keywords = ["cli", "release", "changelog", "git", "conventional-commits"]
categories = ["command-line-utilities"]

[dependencies]
structopt = "^0.3"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

公開: kokai => Release/publish

Kokai allows you to create changelog for your releases and full changelog for your projects. It is based on Conventional Commit (for now) to have a pleasant reading of the changelog.
Kokai allows you to create changelog for your releases and full changelog for your projects. It is based on Conventional Commits (for now) to have a pleasant reading of the changelog.

## All kokai commands

Expand Down
10 changes: 10 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
title: Kokai
description: CLI for your release notes using Conventional Commits.
url: https://joxit.dev/kokai
google_analytics: UA-99119327-1
remote_theme: joxit/joxit.github.io
author: Jones Magloire
twitter:
username: Joxit
instagram:
username: jox.it

0 comments on commit bea22fa

Please sign in to comment.