Skip to content

Commit 30bfa32

Browse files
committed
Add release workflow and changelog
1 parent 5e250dd commit 30bfa32

File tree

2 files changed

+61
-0
lines changed

2 files changed

+61
-0
lines changed

.github/workflows/release.yaml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Release
2+
3+
permissions:
4+
contents: write
5+
6+
on:
7+
push:
8+
tags:
9+
- v[0-9]+.*
10+
11+
jobs:
12+
create-release:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v3
16+
- uses: taiki-e/create-gh-release-action@v1
17+
with:
18+
# (optional) Path to changelog.
19+
changelog: CHANGELOG.md
20+
# (required) GitHub token for creating GitHub Releases.
21+
token: ${{ secrets.GITHUB_TOKEN }}
22+
23+
upload-assets:
24+
strategy:
25+
matrix:
26+
os:
27+
- ubuntu-latest
28+
- macos-latest
29+
- windows-latest
30+
runs-on: ${{ matrix.os }}
31+
steps:
32+
- uses: actions/checkout@v3
33+
- uses: taiki-e/upload-rust-binary-action@v1
34+
with:
35+
# (required) Comma-separated list of binary names (non-extension portion of filename) to build and upload.
36+
# Note that glob pattern is not supported yet.
37+
bin: xqr
38+
# (optional) On which platform to distribute the `.tar.gz` file.
39+
# [default value: unix]
40+
# [possible values: all, unix, windows, none]
41+
tar: unix
42+
# (optional) On which platform to distribute the `.zip` file.
43+
# [default value: windows]
44+
# [possible values: all, unix, windows, none]
45+
zip: windows
46+
# (required) GitHub token for uploading assets to GitHub Releases.
47+
token: ${{ secrets.GITHUB_TOKEN }}

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [Unreleased]
9+
10+
## [0.1.0] - 2022-08-11
11+
### Added
12+
- `xqr encode` command
13+
- `xqr decode` command
14+
- `xqr generate-key-pair` command

0 commit comments

Comments
 (0)