Skip to content

Commit

Permalink
chore: release v0.6.0 (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun authored Apr 10, 2024
1 parent 928228f commit 80ebd61
Show file tree
Hide file tree
Showing 7 changed files with 482 additions and 386 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Copyright 2022-2023, axodotdev
# Copyright 2022-2024, axodotdev
# SPDX-License-Identifier: MIT or Apache-2.0
#
# CI that:
#
# * checks for a Git Tag that looks like a release
# * builds artifacts with cargo-dist (archives, installers, hashes)
# * uploads those artifacts to temporary workflow zip
# * on success, uploads the artifacts to a Github Release
# * on success, uploads the artifacts to a GitHub Release
#
# Note that the Github Release will be created with a generated
# Note that the GitHub Release will be created with a generated
# title/body based on your changelogs.

name: Release
Expand All @@ -31,7 +31,7 @@ permissions:
# packages versioned/released in lockstep).
#
# If you push multiple tags at once, separate instances of this workflow will
# spin up, creating an independent announcement for each one. However Github
# spin up, creating an independent announcement for each one. However, GitHub
# will hard limit this to 3 tags per commit, as it will assume more tags is a
# mistake.
#
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
# we specify bash to get pipefail; it guards against the `curl` command
# failing. otherwise `sh` won't catch that `curl` returned non-0
shell: bash
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.12.0/cargo-dist-installer.sh | sh"
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.13.0/cargo-dist-installer.sh | sh"
# sure would be cool if github gave us proper conditionals...
# so here's a doubly-nested ternary-via-truthiness to try to provide the best possible
# functionality based on whether this is a pull_request, and whether it's from a fork.
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
run: |
# Parse out what we just built and upload it to scratch storage
echo "paths<<EOF" >> "$GITHUB_OUTPUT"
jq --raw-output ".artifacts[]?.path | select( . != null )" dist-manifest.json >> "$GITHUB_OUTPUT"
jq --raw-output ".upload_files[]" dist-manifest.json >> "$GITHUB_OUTPUT"
echo "EOF" >> "$GITHUB_OUTPUT"
cp dist-manifest.json "$BUILD_MANIFEST_NAME"
Expand All @@ -162,7 +162,7 @@ jobs:
submodules: recursive
- name: Install cargo-dist
shell: bash
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.12.0/cargo-dist-installer.sh | sh"
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.13.0/cargo-dist-installer.sh | sh"
# Get all the local artifacts for the global tasks to use (for e.g. checksums)
- name: Fetch local artifacts
uses: actions/download-artifact@v4
Expand All @@ -178,7 +178,7 @@ jobs:
# Parse out what we just built and upload it to scratch storage
echo "paths<<EOF" >> "$GITHUB_OUTPUT"
jq --raw-output ".artifacts[]?.path | select( . != null )" dist-manifest.json >> "$GITHUB_OUTPUT"
jq --raw-output ".upload_files[]" dist-manifest.json >> "$GITHUB_OUTPUT"
echo "EOF" >> "$GITHUB_OUTPUT"
cp dist-manifest.json "$BUILD_MANIFEST_NAME"
Expand Down Expand Up @@ -207,15 +207,15 @@ jobs:
with:
submodules: recursive
- name: Install cargo-dist
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.12.0/cargo-dist-installer.sh | sh"
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.13.0/cargo-dist-installer.sh | sh"
# Fetch artifacts from scratch-storage
- name: Fetch artifacts
uses: actions/download-artifact@v4
with:
pattern: artifacts-*
path: target/distrib/
merge-multiple: true
# This is a harmless no-op for Github Releases, hosting for that happens in "announce"
# This is a harmless no-op for GitHub Releases, hosting for that happens in "announce"
- id: host
shell: bash
run: |
Expand All @@ -230,7 +230,7 @@ jobs:
name: artifacts-dist-manifest
path: dist-manifest.json

# Create a Github Release while uploading all files to it
# Create a GitHub Release while uploading all files to it
announce:
needs:
- plan
Expand All @@ -246,7 +246,7 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: "Download Github Artifacts"
- name: "Download GitHub Artifacts"
uses: actions/download-artifact@v4
with:
pattern: artifacts-*
Expand All @@ -256,7 +256,7 @@ jobs:
run: |
# Remove the granular manifests
rm -f artifacts/*-dist-manifest.json
- name: Create Github Release
- name: Create GitHub Release
uses: ncipollo/release-action@v1
with:
tag: ${{ needs.plan.outputs.tag }}
Expand Down
79 changes: 2 additions & 77 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,80 +1,5 @@
# Changelog

All notable changes to this project will be documented in this file.
Changelogs are kept separately for each crate in this repository.

## [0.5.0] - 2023-10-18

### πŸ“‡ Features

- *(config)* Add option to disable easter eggs ([#48](https://github.com/orhun/daktilo/pull/48)) - ([7d347ad](https://github.com/orhun/daktilo/commit/7d347ad21e0ca50699e2c53e2f0a48495211a14d))
- *(playback)* Add random variation on each keypress ([#24](https://github.com/orhun/daktilo/pull/24)) - ([c53334c](https://github.com/orhun/daktilo/commit/c53334c2f987b2e2a779345de037e80df1a5f9d2))

### πŸ“š Documentation

- *(readme)* Update the usage options - ([e153eb4](https://github.com/orhun/daktilo/commit/e153eb4ecfdcfa618c51719da85fee630fdf1d32))

### βš™οΈ Miscellaneous Tasks

- *(release)* Remove homebrew release config - ([666cf57](https://github.com/orhun/daktilo/commit/666cf57693e317fde874b5ee593d22ebf39c7fc2))

## [0.4.0] - 2023-10-15

### πŸ“‡ Features

- *(playback)* Allow specifying multiple presets at once ([#43](https://github.com/orhun/daktilo/pull/43)) - ([4154b8c](https://github.com/orhun/daktilo/commit/4154b8c3dc69a0b210e29dbef64a3ddc3fcd4339))

## [0.3.1] - 2023-10-10

### πŸ“š Documentation

- *(readme)* Add MacPorts install info ([#37](https://github.com/orhun/daktilo/pull/37)) - ([33ed3fd](https://github.com/orhun/daktilo/commit/33ed3fd874c76fd24ea59f4c3c5c91f8e64bfa59))

### βš™οΈ Miscellaneous Tasks

- *(changelog)* Remove footer from changelog - ([c25044d](https://github.com/orhun/daktilo/commit/c25044d32291f472e1a7d7b988b6708e8cc27ee3))

## [0.3.0] - 2023-10-07

### πŸ“‡ Features

- *(playback)* Support selecting the output device - ([6bd8269](https://github.com/orhun/daktilo/commit/6bd8269639bd95f5a4386e32f9abc9adf15c12d1))

## [0.2.1] - 2023-10-05

### πŸ› Bug Fixes

- *(cd)* Use a custom token for triggering release workflow - ([0f8dcdc](https://github.com/orhun/daktilo/commit/0f8dcdcf2955577535bec8fa4da81bfca7aca7f5))

### 🚜 Refactor

- *(config)* Refactor preset selection logic - ([7f1e055](https://github.com/orhun/daktilo/commit/7f1e055dd91b9081cd5ffdc92889da8392caa630))

### πŸ“š Documentation

- *(readme)* Give more details about cargo ([#30](https://github.com/orhun/daktilo/pull/30)) - ([91c8e94](https://github.com/orhun/daktilo/commit/91c8e94567b942a37c32d21e141aa5d337c837fa))
- *(release)* Update release instructions - ([59101b5](https://github.com/orhun/daktilo/commit/59101b5aefa7eb788eb5aaa756f98012dd069eb6))
- *(security)* Update security policy for the new versions - ([73b12dc](https://github.com/orhun/daktilo/commit/73b12dcaeb07ab152593c8443ac3fc4f486fde5b))

## [0.2.0] - 2023-10-04

### πŸ“‡ Features

- *(cd)* Add continuous deployment workflow - ([eced001](https://github.com/orhun/daktilo/commit/eced001ef1d3df26305cbf69c1094a27e1d65feb))
- *(config)* Add drumkit preset ([#18](https://github.com/orhun/daktilo/pull/18)) - ([6899c65](https://github.com/orhun/daktilo/commit/6899c65778c14e0e10b9c1a62623273ea1e4a239))

### πŸ“š Documentation

- *(contributing)* Add 'how to add new presets' guide - ([00bc615](https://github.com/orhun/daktilo/commit/00bc61520f1b80ba52351d3aafbeb59d28013a08))
- *(readme)* Document linux dependencies ([#17](https://github.com/orhun/daktilo/pull/17)) - ([928f6ee](https://github.com/orhun/daktilo/commit/928f6ee1839dd34b29be0d1ae915eb01f48478f7))
- *(readme)* Use case sensitive regex in example ([#21](https://github.com/orhun/daktilo/pull/21)) - ([b296348](https://github.com/orhun/daktilo/commit/b29634867b1a4a45d654a93b47f6c6b7865ac52e))
- *(readme)* Add installation instructions for Alpine Linux - ([6935762](https://github.com/orhun/daktilo/commit/69357626c4f3c2aa69f22940ffda913adb18ff6a))
- *(readme)* Add supported platforms section - ([064c8ed](https://github.com/orhun/daktilo/commit/064c8ed409a07010fd38bc82aa75abff53a80774))
- *(readme)* Add similar projects section - ([84e5db1](https://github.com/orhun/daktilo/commit/84e5db122a60c0c95815e973a2c951a9774723ab))
- *(readme)* Add auxiliary explanation for the name of the app ([#13](https://github.com/orhun/daktilo/pull/13)) - ([187d616](https://github.com/orhun/daktilo/commit/187d616c0ce88aa24c2b5aa9c0603b38fb6852ce))
- *(readme)* Add instructions for installing on Arch Linux - ([02afb8a](https://github.com/orhun/daktilo/commit/02afb8a948d3641d856e607b34e5d869423c4c6c))

### βš™οΈ Miscellaneous Tasks

- *(typos)* Add typos config - ([4de968d](https://github.com/orhun/daktilo/commit/4de968d4bbc19125e7a52668c98ec0e283e6c422))

<!-- generated by git-cliff -->
**daktilo** changelog [is now here](./crates/daktilo/CHANGELOG.md).
Loading

0 comments on commit 80ebd61

Please sign in to comment.